java.net.ConnectException: Call to 10.111.57.86/10.111.57.86:8021 failed on connection exception: java.net.ConnectException: Connection refused

SpringSource Issue Tracker | Wei Hu (QE) | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Test case 'hadoopUsage.BenchmarkTest.testBenchmark' failed for 'Connection refused' Error Following is copied from http://bdc-jenkins.eng.vmware.com/view/Re-Architecture/job/serengeti-dawn-nightly/32/testngreports/com.vmware.qe.aurora.tests.hadoopUsage/com.vmware.qe.aurora.tests.hadoopUsage.BenchmarkTest/testBenchmark/? =================================================================== Exception com.vmware.qe.aurora.exceptions.ServiceException Message: Execute command on remote host failed. 13/02/23 23:45:30 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 0 time(s). 13/02/23 23:45:31 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 1 time(s). 13/02/23 23:45:32 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 2 time(s). 13/02/23 23:45:33 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 3 time(s). 13/02/23 23:45:34 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 4 time(s). 13/02/23 23:45:35 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 5 time(s). 13/02/23 23:45:36 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 6 time(s). 13/02/23 23:45:37 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 7 time(s). 13/02/23 23:45:38 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 8 time(s). 13/02/23 23:45:39 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 9 time(s). java.net.ConnectException: Call to 10.111.57.86/10.111.57.86:8021 failed on connection exception: java.net.ConnectException: Connection refused at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095) at org.apache.hadoop.ipc.Client.call(Client.java:1071) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225) at org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(Unknown Source) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379) at org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:480) at org.apache.hadoop.mapred.JobClient.init(JobClient.java:474) at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457) at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1260) at org.apache.hadoop.examples.terasort.TeraGen.run(TeraGen.java:352) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.examples.terasort.TeraGen.main(TeraGen.java:357) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) Caused by: java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489) at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:434) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:560) at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:184) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1202) at org.apache.hadoop.ipc.Client.call(Client.java:1046) ... 23 more Stacktrace: at com.vmware.qe.aurora.framework.impl.remote.RemoteHost.execCmd(RemoteHost.java:47) at com.vmware.qe.aurora.framework.impl.verificator.TeraSortVerificator.runTeraSort(TeraSortVerificator.java:22) at com.vmware.qe.aurora.tests.hadoopUsage.BenchmarkTest.testBenchmark(BenchmarkTest.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) ===================================================================

    SpringSource Issue Tracker | 4 years ago | Wei Hu (QE)
    java.net.ConnectException: Call to 10.111.57.86/10.111.57.86:8021 failed on connection exception: java.net.ConnectException: Connection refused
  2. 0

    Test case 'hadoopUsage.BenchmarkTest.testBenchmark' failed for 'Connection refused' Error Following is copied from http://bdc-jenkins.eng.vmware.com/view/Re-Architecture/job/serengeti-dawn-nightly/32/testngreports/com.vmware.qe.aurora.tests.hadoopUsage/com.vmware.qe.aurora.tests.hadoopUsage.BenchmarkTest/testBenchmark/? =================================================================== Exception com.vmware.qe.aurora.exceptions.ServiceException Message: Execute command on remote host failed. 13/02/23 23:45:30 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 0 time(s). 13/02/23 23:45:31 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 1 time(s). 13/02/23 23:45:32 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 2 time(s). 13/02/23 23:45:33 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 3 time(s). 13/02/23 23:45:34 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 4 time(s). 13/02/23 23:45:35 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 5 time(s). 13/02/23 23:45:36 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 6 time(s). 13/02/23 23:45:37 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 7 time(s). 13/02/23 23:45:38 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 8 time(s). 13/02/23 23:45:39 INFO ipc.Client: Retrying connect to server: 10.111.57.86/10.111.57.86:8021. Already tried 9 time(s). java.net.ConnectException: Call to 10.111.57.86/10.111.57.86:8021 failed on connection exception: java.net.ConnectException: Connection refused at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095) at org.apache.hadoop.ipc.Client.call(Client.java:1071) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225) at org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(Unknown Source) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396) at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379) at org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:480) at org.apache.hadoop.mapred.JobClient.init(JobClient.java:474) at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457) at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1260) at org.apache.hadoop.examples.terasort.TeraGen.run(TeraGen.java:352) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.examples.terasort.TeraGen.main(TeraGen.java:357) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) Caused by: java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567) at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489) at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:434) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:560) at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:184) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1202) at org.apache.hadoop.ipc.Client.call(Client.java:1046) ... 23 more Stacktrace: at com.vmware.qe.aurora.framework.impl.remote.RemoteHost.execCmd(RemoteHost.java:47) at com.vmware.qe.aurora.framework.impl.verificator.TeraSortVerificator.runTeraSort(TeraSortVerificator.java:22) at com.vmware.qe.aurora.tests.hadoopUsage.BenchmarkTest.testBenchmark(BenchmarkTest.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) ===================================================================

    SpringSource Issue Tracker | 4 years ago | Wei Hu (QE)
    java.net.ConnectException: Call to 10.111.57.86/10.111.57.86:8021 failed on connection exception: java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    8021 failed on connection exception: java.net.ConnectException: Connection refused at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095)

    itquestionz.com | 1 year ago
    java.net.ConnectException: Call to localhost/127.0.0.1:8021 failed on connection exception: java.net.ConnectException: Connection refused
  5. 0

    8021 failed on connection exception: java.net.ConnectException: Connection refused at org.apache.hadoop.ipc.Client.wrapException(Client.java:1095)

    Stack Overflow | 5 years ago | waqas
    java.net.ConnectException: Call to localhost/127.0.0.1:8021 failed on connection exception: java.net.ConnectException: Connection refused

  1. Hronom 2 times, last 1 month ago
  2. batwalrus76 33 times, last 2 months ago
  3. chenjunjun 2 times, last 1 month ago
  4. Alireza Mohamadi 142 times, last 1 month ago
  5. stigkj 1 times, last 2 months ago
14 more registered users
81 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection refused

    at sun.nio.ch.SocketChannelImpl.checkConnect()
  2. Java RT
    SocketChannelImpl.finishConnect
    1. sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    2. sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:567)
    2 frames
  3. Hadoop
    RPC$Invoker.invoke
    1. org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
    2. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
    3. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:434)
    4. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:560)
    5. org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:184)
    6. org.apache.hadoop.ipc.Client.getConnection(Client.java:1202)
    7. org.apache.hadoop.ipc.Client.call(Client.java:1046)
    8. org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
    8 frames
  4. Hadoop
    $Proxy2.getProtocolVersion
    1. org.apache.hadoop.mapred.$Proxy2.getProtocolVersion(Unknown Source)
    1 frame
  5. Hadoop
    RPC.getProxy
    1. org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
    2. org.apache.hadoop.ipc.RPC.getProxy(RPC.java:379)
    2 frames
  6. Hadoop
    JobClient.runJob
    1. org.apache.hadoop.mapred.JobClient.createRPCProxy(JobClient.java:480)
    2. org.apache.hadoop.mapred.JobClient.init(JobClient.java:474)
    3. org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:457)
    4. org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1260)
    4 frames
  7. Apache Hadoop MapReduce Examples
    TeraGen.run
    1. org.apache.hadoop.examples.terasort.TeraGen.run(TeraGen.java:352)
    1 frame
  8. Hadoop
    ToolRunner.run
    1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    1 frame
  9. Apache Hadoop MapReduce Examples
    TeraGen.main
    1. org.apache.hadoop.examples.terasort.TeraGen.main(TeraGen.java:357)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  11. Hadoop
    ProgramDriver.driver
    1. org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
    2. org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
    2 frames
  12. Apache Hadoop MapReduce Examples
    ExampleDriver.main
    1. org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64)
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  14. Hadoop
    RunJar.main
    1. org.apache.hadoop.util.RunJar.main(RunJar.java:156)
    1 frame