java.net.ConnectException: Call From 10.111.88.192/10.111.88.192 to 10.111.89.8:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

SpringSource Issue Tracker | Hong Cheng (c) | 4 years ago
  1. 0

    Reproduce steps: 1,Create cluster with attached spec file:CDH4 HA+Federation+YARN 2,Run mapreduce job with the second namespace hadoop jar hadoop-mapreduce-examples-2.0.0-cdh4.2.0.jar teragen 5000 hdfs://10.111.89.8:8020/user/joe/terasort-input3 Expected result: Job runs successfully; Actual result:Connection failed; [joe@10 hadoop-mapreduce]$ hadoop jar hadoop-mapreduce-examples-2.0.0-cdh4.2.0.jar teragen 5000 hdfs://10.111.89.8:8020/user/joe/terasort-input3 java.net.ConnectException: Call From 10.111.88.192/10.111.88.192 to 10.111.89.8:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:779) at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:726) at org.apache.hadoop.ipc.Client.call(Client.java:1229) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:202) at $Proxy9.getFileInfo(Unknown Source) 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.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83) at $Proxy9.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:628) at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1532) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:803) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1332) at org.apache.hadoop.examples.terasort.TeraGen.run(TeraGen.java:292) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.examples.terasort.TeraGen.main(TeraGen.java:309) 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:72) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68) 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:208) 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:207) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:525) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489) at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:499) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:593) at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:241) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1278) at org.apache.hadoop.ipc.Client.call(Client.java:1196) ... 28 more [joe@10 hadoop-mapreduce]$

    SpringSource Issue Tracker | 4 years ago | Hong Cheng (c)
    java.net.ConnectException: Call From 10.111.88.192/10.111.88.192 to 10.111.89.8:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  2. 0

    Reproduce steps: 1,Create cluster with attached spec file:CDH4 HA+Federation+YARN 2,Run mapreduce job with the second namespace hadoop jar hadoop-mapreduce-examples-2.0.0-cdh4.2.0.jar teragen 5000 hdfs://10.111.89.8:8020/user/joe/terasort-input3 Expected result: Job runs successfully; Actual result:Connection failed; [joe@10 hadoop-mapreduce]$ hadoop jar hadoop-mapreduce-examples-2.0.0-cdh4.2.0.jar teragen 5000 hdfs://10.111.89.8:8020/user/joe/terasort-input3 java.net.ConnectException: Call From 10.111.88.192/10.111.88.192 to 10.111.89.8:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:779) at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:726) at org.apache.hadoop.ipc.Client.call(Client.java:1229) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:202) at $Proxy9.getFileInfo(Unknown Source) 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.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83) at $Proxy9.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:628) at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1532) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:803) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1332) at org.apache.hadoop.examples.terasort.TeraGen.run(TeraGen.java:292) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.examples.terasort.TeraGen.main(TeraGen.java:309) 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:72) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68) 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:208) 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:207) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:525) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489) at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:499) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:593) at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:241) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1278) at org.apache.hadoop.ipc.Client.call(Client.java:1196) ... 28 more [joe@10 hadoop-mapreduce]$

    SpringSource Issue Tracker | 4 years ago | Hong Cheng (c)
    java.net.ConnectException: Call From 10.111.88.192/10.111.88.192 to 10.111.89.8:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  3. 0

    eclipse hadoop connection refused

    Stack Overflow | 3 years ago | Leo
    java.net.ConnectException: Call From SWD-LIUQIN00-D1/172.26.35.141 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Import data from Oracle to HDFS using Sqoop2

    Stack Overflow | 2 years ago
    org.apache.sqoop.common.SqoopException: MAPREDUCE_0003:Can't get RunningJob instance
  6. 0

    hadoop-docker:2.5.0 image not running in CentOS 7 64bit guest in Windows 8.1 virtualbox host

    GitHub | 2 years ago | ajit555
    java.net.ConnectException: Call From 29ab98bc0f2a/172.17.0.3 to 29ab98bc0f2a:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

  1. RoiOtero 1 times, last 1 week ago
  2. nasimk 1064 times, last 1 week ago
  3. gehel 8 times, last 1 month ago
  4. rp 1 times, last 1 month ago
  5. poroszd 4 times, last 2 months ago
10 more registered users
85 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
    ProtobufRpcEngine$Invoker.invoke
    1. org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:207)
    2. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:525)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
    4. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:499)
    5. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:593)
    6. org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:241)
    7. org.apache.hadoop.ipc.Client.getConnection(Client.java:1278)
    8. org.apache.hadoop.ipc.Client.call(Client.java:1196)
    9. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:202)
    9 frames
  4. Unknown
    $Proxy9.getFileInfo
    1. $Proxy9.getFileInfo(Unknown Source)
    1 frame
  5. 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
  6. Hadoop
    RetryInvocationHandler.invoke
    1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:164)
    2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:83)
    2 frames
  7. Unknown
    $Proxy9.getFileInfo
    1. $Proxy9.getFileInfo(Unknown Source)
    1 frame
  8. Apache Hadoop HDFS
    DistributedFileSystem.getFileStatus
    1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:628)
    2. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1532)
    3. org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:803)
    3 frames
  9. Hadoop
    FileSystem.exists
    1. org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1332)
    1 frame
  10. Apache Hadoop MapReduce Examples
    TeraGen.run
    1. org.apache.hadoop.examples.terasort.TeraGen.run(TeraGen.java:292)
    1 frame
  11. Hadoop
    ToolRunner.run
    1. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    1 frame
  12. Apache Hadoop MapReduce Examples
    TeraGen.main
    1. org.apache.hadoop.examples.terasort.TeraGen.main(TeraGen.java:309)
    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
    ProgramDriver.driver
    1. org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
    2. org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:144)
    2 frames
  15. Apache Hadoop MapReduce Examples
    ExampleDriver.main
    1. org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:68)
    1 frame
  16. 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
  17. Hadoop
    RunJar.main
    1. org.apache.hadoop.util.RunJar.main(RunJar.java:208)
    1 frame