java.net.ConnectException: Call to ip-172-31-22-114.ec2.internal/172.31.22.114:9000 failed on connection exception: java.net.ConnectException: Connection refused

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This was a bug at HBase 1.0.1, it has been patched, so an update to 1.0.2 or further should solve the problem. URL for the Jira thread: https://goo.gl/c5oa6f

Solutions on the web

via GitHub by ChaiBapchya
, 1 year ago
Call to ip-172-31-22-114.ec2.internal/172.31.22.114:9000 failed on connection exception: java.net.ConnectException: Connection refused
via Google Groups by dwijesinghe, 2 years ago
Connection refused
via pceworld.com by Unknown author, 2 years ago
Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
via Stack Overflow by Shrinivas Kulkarni
, 2 years ago
Call to localhost/127.0.0.1:54310 failed on connection exception: java.net.ConnectException: Connection refused
via Google Groups by Syed Raza, 2 years ago
via GitHub by chip-factual
, 2 years ago
Call to dev/10.199.0.213:8020 failed on connection exception: java.net.ConnectException: Connection refused
java.net.ConnectException: Call to ip-172-31-22-114.ec2.internal/172.31.22.114:9000 failed on connection exception: java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:744)
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:1206)
at org.apache.hadoop.ipc.Client.call(Client.java:1050)
at com.sun.proxy.$Proxy3.getProtocolVersion(Unknown Source)
at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:396)
at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:119)
at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:238)
at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:203)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1386)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1404)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
at spark.SparkContext.setCheckpointDir(SparkContext.scala:829)
at spark.streaming.StreamingContext.checkpoint(StreamingContext.scala:171)
at spark.streaming.api.java.JavaStreamingContext.checkpoint(JavaStreamingContext.scala:589)
at undefined.Tutorial.main(Tutorial.java:41)
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:606)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
126 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.