java.net.ConnectException: Call From ip-172-31-8-103.us-west-1.compute.internal/172.31.8.103 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

  1. 0

    Hadoop connection refused when a job is executed

    Stack Overflow | 2 months ago | Rain Fitzgerald
    java.net.ConnectException: Call From ip-172-31-8-103.us-west-1.compute.internal/172.31.8.103 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  2. 0

    4 Docker ---Hadoop and Kafka and Zookeeper and gobblin

    GitHub | 8 months ago | jesusvillagra
    java.io.IOException: java.net.ConnectException: Call From 39c237e0d2ad/172.17.0.5 to 0.0.0.0:10020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  3. 0

    PIG creates file on Hadoop but cannot write to it

    Stack Overflow | 5 months ago | tobi
    java.io.IOException: java.io.IOException: java.net.ConnectException: Call From m1.hdp2/192.168.178.201 to 0.0.0.0:10020 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

    hadoop running application- ERROR security.UserGroupInformation: PriviledgedActionException

    Stack Overflow | 3 years ago | masoumeh
    java.net.ConnectException: Call From virtual-machine/127.0.1.1 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  6. 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

  1. RoiOtero 525 times, last 1 week ago
  2. nasimk 1595 times, last 2 days 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:717)
    2 frames
  3. Hadoop
    ProtobufRpcEngine$Invoker.invoke
    1. org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
    2. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
    4. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:614)
    5. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:712)
    6. org.apache.hadoop.ipc.Client$Connection.access$2900(Client.java:375)
    7. org.apache.hadoop.ipc.Client.getConnection(Client.java:1528)
    8. org.apache.hadoop.ipc.Client.call(Client.java:1451)
    9. org.apache.hadoop.ipc.Client.call(Client.java:1412)
    10. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
    10 frames
  4. com.sun.proxy
    $Proxy9.getFileInfo
    1. com.sun.proxy.$Proxy9.getFileInfo(Unknown Source)
    1 frame
  5. Apache Hadoop HDFS
    ClientNamenodeProtocolTranslatorPB.getFileInfo
    1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:771)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. Hadoop
    RetryInvocationHandler.invoke
    1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:191)
    2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
    2 frames
  8. com.sun.proxy
    $Proxy10.getFileInfo
    1. com.sun.proxy.$Proxy10.getFileInfo(Unknown Source)
    1 frame
  9. Apache Hadoop HDFS
    DistributedFileSystem$22.doCall
    1. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2108)
    2. org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305)
    3. org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301)
    3 frames
  10. Hadoop
    FileSystemLinkResolver.resolve
    1. org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
    1 frame
  11. Apache Hadoop HDFS
    DistributedFileSystem.getFileStatus
    1. org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1301)
    1 frame
  12. Hadoop
    FileSystem.exists
    1. org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424)
    1 frame
  13. Hadoop
    Job$10.run
    1. org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:145)
    2. org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:266)
    3. org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:139)
    4. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
    5. org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
    5 frames
  14. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:422)
    2 frames
  15. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
    1 frame
  16. Hadoop
    Job.waitForCompletion
    1. org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
    2. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)
    2 frames
  17. Unknown
    WordCount.main
    1. WordCount.main(WordCount.java:39)
    1 frame