java.net.ConnectException: Call From shiva.0xdata.loc/192.168.1.39 to mr-0xb4.0xdata.loc:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

JIRA | SriSatish Ambati | 3 years ago
  1. 0

    Trying to import file from non-hadoop cluster laptop web ui, shows the filesystem (ie, completes the file extension but fails during import) HTTPD: GET /2/ImportFiles2.html path=hdfs://192.168.1.164/ 04:27:00.714 # Session INFO WATER: ImportHDFS processing (hdfs://192.168.1.164/) 04:27:15.397 # Session ERRR WATER: + java.net.ConnectException: Call From shiva.0xdata.loc/192.168.1.39 to mr-0xb4.0xdata.loc:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused + at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:727) + at org.apache.hadoop.ipc.Client.call(Client.java:1165) + at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:184) + at $Proxy11.getFileInfo(Unknown Source) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:601) + at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:165) + at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:84) + at $Proxy11.getFileInfo(Unknown Source) + at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:612) + at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1366) + at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:732) + at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1197) + at water.persist.PersistHdfs.addFolder2(PersistHdfs.java:288) + at water.api.ImportFiles2.serveHdfs(ImportFiles2.java:87) + at water.api.ImportFiles2.serve(ImportFiles2.java:69) + at water.api.Request.serveGrid(Request.java:137) + at water.Request2.superServeGrid(Request2.java:478) + at water.Request2.serveGrid(Request2.java:399) + at water.api.Request.serve(Request.java:114) + at water.api.RequestServer.serve(RequestServer.java:372) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421) + at java.lang.Thread.run(Thread.java:722) + Caused by: java.net.ConnectException: Connection refused + at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) + at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692) + at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) + at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:524) + at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489) + at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:472) + at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:566) + at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:215) + at org.apache.hadoop.ipc.Client.getConnection(Client.java:1271) + at org.apache.hadoop.ipc.Client.call(Client.java:1141)

    JIRA | 3 years ago | SriSatish Ambati
    java.net.ConnectException: Call From shiva.0xdata.loc/192.168.1.39 to mr-0xb4.0xdata.loc:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  2. 0

    Trying to import file from non-hadoop cluster laptop web ui, shows the filesystem (ie, completes the file extension but fails during import) HTTPD: GET /2/ImportFiles2.html path=hdfs://192.168.1.164/ 04:27:00.714 # Session INFO WATER: ImportHDFS processing (hdfs://192.168.1.164/) 04:27:15.397 # Session ERRR WATER: + java.net.ConnectException: Call From shiva.0xdata.loc/192.168.1.39 to mr-0xb4.0xdata.loc:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused + at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:727) + at org.apache.hadoop.ipc.Client.call(Client.java:1165) + at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:184) + at $Proxy11.getFileInfo(Unknown Source) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:601) + at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:165) + at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:84) + at $Proxy11.getFileInfo(Unknown Source) + at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:612) + at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1366) + at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:732) + at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1197) + at water.persist.PersistHdfs.addFolder2(PersistHdfs.java:288) + at water.api.ImportFiles2.serveHdfs(ImportFiles2.java:87) + at water.api.ImportFiles2.serve(ImportFiles2.java:69) + at water.api.Request.serveGrid(Request.java:137) + at water.Request2.superServeGrid(Request2.java:478) + at water.Request2.serveGrid(Request2.java:399) + at water.api.Request.serve(Request.java:114) + at water.api.RequestServer.serve(RequestServer.java:372) + at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421) + at java.lang.Thread.run(Thread.java:722) + Caused by: java.net.ConnectException: Connection refused + at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) + at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:692) + at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206) + at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:524) + at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489) + at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:472) + at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:566) + at org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:215) + at org.apache.hadoop.ipc.Client.getConnection(Client.java:1271) + at org.apache.hadoop.ipc.Client.call(Client.java:1141)

    JIRA | 3 years ago | SriSatish Ambati
    java.net.ConnectException: Call From shiva.0xdata.loc/192.168.1.39 to mr-0xb4.0xdata.loc:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  3. 0

    how to change resource manager port that spark trying to connect

    Google Groups | 3 years ago | srinivasarao daruna
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    running hadoop wordcount program

    Stack Overflow | 3 years ago | nbbk
    java.net.ConnectException: Connection refused
  6. 0

    NodeManager on slave does not start

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection refused

  1. RoiOtero 525 times, last 1 week ago
  2. nasimk 1595 times, last 20 hours 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:692)
    2 frames
  3. Hadoop
    Client.call
    1. org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
    2. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:524)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
    4. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:472)
    5. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:566)
    6. org.apache.hadoop.ipc.Client$Connection.access$2000(Client.java:215)
    7. org.apache.hadoop.ipc.Client.getConnection(Client.java:1271)
    8. org.apache.hadoop.ipc.Client.call(Client.java:1141)
    8 frames