java.net.ConnectException: Call From amp-jenkins-worker-01.amp/192.168.10.21 to localhost:38335 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

JIRA | Andrew Audibert | 1 year ago
  1. 0

    Failure message: {code} java.net.ConnectException: Call From amp-jenkins-worker-01.amp/192.168.10.21 to localhost:38335 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:530) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:494) at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:607) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:705) at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:368) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1521) at org.apache.hadoop.ipc.Client.call(Client.java:1438) at org.apache.hadoop.ipc.Client.call(Client.java:1399) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232) at com.sun.proxy.$Proxy27.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) at com.sun.proxy.$Proxy28.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1988) at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118) at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1400) at tachyon.underfs.hdfs.HdfsUnderFileSystem.exists(HdfsUnderFileSystem.java:194) at tachyon.util.UnderFileSystemUtils.mkdirIfNotExists(UnderFileSystemUtils.java:56) at tachyon.master.LocalTachyonMaster.<init>(LocalTachyonMaster.java:86) at tachyon.master.LocalTachyonMaster.create(LocalTachyonMaster.java:151) at tachyon.master.LocalTachyonCluster.startMaster(LocalTachyonCluster.java:245) at tachyon.master.LocalTachyonCluster.start(LocalTachyonCluster.java:316) at tachyon.master.LocalTachyonCluster.start(LocalTachyonCluster.java:302) at tachyon.master.JournalShutdownIntegrationTest.setupSingleMasterCluster(JournalShutdownIntegrationTest.java:168) at tachyon.master.JournalShutdownIntegrationTest.singleMasterJournalCrashIntegrationTest(JournalShutdownIntegrationTest.java:179) {code} Example failures: https://amplab.cs.berkeley.edu/jenkins/view/Tachyon/job/Tachyon-Master/PROFILE=hdfs2Test,label=centos/1431/console https://amplab.cs.berkeley.edu/jenkins/view/Tachyon/job/Tachyon-Master/PROFILE=hdfs2Test,label=centos/1432/console

    JIRA | 1 year ago | Andrew Audibert
    java.net.ConnectException: Call From amp-jenkins-worker-01.amp/192.168.10.21 to localhost:38335 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  2. 0

    Failure message: {code} java.net.ConnectException: Call From amp-jenkins-worker-01.amp/192.168.10.21 to localhost:38335 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:530) at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:494) at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:607) at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:705) at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:368) at org.apache.hadoop.ipc.Client.getConnection(Client.java:1521) at org.apache.hadoop.ipc.Client.call(Client.java:1438) at org.apache.hadoop.ipc.Client.call(Client.java:1399) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232) at com.sun.proxy.$Proxy27.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102) at com.sun.proxy.$Proxy28.getFileInfo(Unknown Source) at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1988) at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118) at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1400) at tachyon.underfs.hdfs.HdfsUnderFileSystem.exists(HdfsUnderFileSystem.java:194) at tachyon.util.UnderFileSystemUtils.mkdirIfNotExists(UnderFileSystemUtils.java:56) at tachyon.master.LocalTachyonMaster.<init>(LocalTachyonMaster.java:86) at tachyon.master.LocalTachyonMaster.create(LocalTachyonMaster.java:151) at tachyon.master.LocalTachyonCluster.startMaster(LocalTachyonCluster.java:245) at tachyon.master.LocalTachyonCluster.start(LocalTachyonCluster.java:316) at tachyon.master.LocalTachyonCluster.start(LocalTachyonCluster.java:302) at tachyon.master.JournalShutdownIntegrationTest.setupSingleMasterCluster(JournalShutdownIntegrationTest.java:168) at tachyon.master.JournalShutdownIntegrationTest.singleMasterJournalCrashIntegrationTest(JournalShutdownIntegrationTest.java:179) {code} Example failures: https://amplab.cs.berkeley.edu/jenkins/view/Tachyon/job/Tachyon-Master/PROFILE=hdfs2Test,label=centos/1431/console https://amplab.cs.berkeley.edu/jenkins/view/Tachyon/job/Tachyon-Master/PROFILE=hdfs2Test,label=centos/1432/console

    JIRA | 1 year ago | Andrew Audibert
    java.net.ConnectException: Call From amp-jenkins-worker-01.amp/192.168.10.21 to localhost:38335 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  3. 0

    Apache Oozie Installation on Hadoop 2.4.1 | Gaurav Kohli

    gauravkohli.com | 1 year ago
    org.apache.oozie.action.ActionExecutorException: JA006: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Swiss Scalability -- My Journey as Hadoop Engineer

    swiss-scalability.com | 1 year ago
    java.net.ConnectException: Connection refused

  1. RoiOtero 525 times, last 1 week ago
  2. nasimk 1595 times, last 3 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

    Call From amp-jenkins-worker-01.amp/192.168.10.21 to localhost:38335 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

    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:739)
    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:530)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:494)
    4. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:607)
    5. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:705)
    6. org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:368)
    7. org.apache.hadoop.ipc.Client.getConnection(Client.java:1521)
    8. org.apache.hadoop.ipc.Client.call(Client.java:1438)
    9. org.apache.hadoop.ipc.Client.call(Client.java:1399)
    10. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
    10 frames
  4. com.sun.proxy
    $Proxy27.getFileInfo
    1. com.sun.proxy.$Proxy27.getFileInfo(Unknown Source)
    1 frame
  5. Apache Hadoop HDFS
    ClientNamenodeProtocolTranslatorPB.getFileInfo
    1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:606)
    3 frames
  7. Hadoop
    RetryInvocationHandler.invoke
    1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
    2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
    2 frames
  8. com.sun.proxy
    $Proxy28.getFileInfo
    1. com.sun.proxy.$Proxy28.getFileInfo(Unknown Source)
    1 frame
  9. Apache Hadoop HDFS
    DistributedFileSystem$18.doCall
    1. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1988)
    2. org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118)
    3. org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
    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:1114)
    1 frame
  12. Hadoop
    FileSystem.exists
    1. org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1400)
    1 frame
  13. tachyon.underfs.hdfs
    HdfsUnderFileSystem.exists
    1. tachyon.underfs.hdfs.HdfsUnderFileSystem.exists(HdfsUnderFileSystem.java:194)
    1 frame
  14. Tachyon Project Core
    JournalShutdownIntegrationTest.singleMasterJournalCrashIntegrationTest
    1. tachyon.util.UnderFileSystemUtils.mkdirIfNotExists(UnderFileSystemUtils.java:56)
    2. tachyon.master.LocalTachyonMaster.<init>(LocalTachyonMaster.java:86)
    3. tachyon.master.LocalTachyonMaster.create(LocalTachyonMaster.java:151)
    4. tachyon.master.LocalTachyonCluster.startMaster(LocalTachyonCluster.java:245)
    5. tachyon.master.LocalTachyonCluster.start(LocalTachyonCluster.java:316)
    6. tachyon.master.LocalTachyonCluster.start(LocalTachyonCluster.java:302)
    7. tachyon.master.JournalShutdownIntegrationTest.setupSingleMasterCluster(JournalShutdownIntegrationTest.java:168)
    8. tachyon.master.JournalShutdownIntegrationTest.singleMasterJournalCrashIntegrationTest(JournalShutdownIntegrationTest.java:179)
    8 frames