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

java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at com.twitter.heron.common.network.HeronClient.handleConnect(HeronClient.java:244)
at com.twitter.heron.common.basics.NIOLooper.handleSelectedKeys(NIOLooper.java:115)
at com.twitter.heron.common.basics.NIOLooper.access$000(NIOLooper.java:32)
at com.twitter.heron.common.basics.NIOLooper$1.run(NIOLooper.java:45)
at com.twitter.heron.common.basics.WakeableLooper.executeTasksOnWakeup(WakeableLooper.java:142)
at com.twitter.heron.common.basics.WakeableLooper.runOnce(WakeableLooper.java:74)
at com.twitter.heron.common.basics.WakeableLooper.loop(WakeableLooper.java:64)
at com.twitter.heron.instance.Gateway.run(Gateway.java:155)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

15 times, 4 days ago
101 times, 2 weeks ago
35179 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
210 times, 3 months ago

Write tip

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