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

  1. ,
    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 Stack Overflow by Benson Chen
, 1 year ago
Call From ubuntu/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
via Stack Overflow by Star_Wars
, 1 year ago
Call From gangwar/127.0.1.1 to localhost:54310 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused*******
via Stack Overflow by Ashwii
, 1 year ago
Call From ubuntu/127.0.1.1 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection re fused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
via Google Groups by Philip Dogbey, 2 years ago
Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
via Stack Overflow by Albin Vinoy
, 1 week ago
Call From sample-linux/127.0.1.1 to ec2-***.compute-1.amazonaws.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
via Stack Overflow by KayV
, 10 months ago
Call From KV.local/172.20.12.168 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
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:530)	at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:494)	at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:608)	at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:706)	at org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:369)	at org.apache.hadoop.ipc.Client.getConnection(Client.java:1522)	at org.apache.hadoop.ipc.Client.call(Client.java:1439)	at org.apache.hadoop.ipc.Client.call(Client.java:1400)	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)	at com.sun.proxy.$Proxy19.getFileInfo(Unknown Source)	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752)	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)	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.$Proxy20.getFileInfo(Unknown Source)	at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1977)	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.Globber.getFileStatus(Globber.java:57)	at org.apache.hadoop.fs.Globber.glob(Globber.java:252)	at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1644)	at org.apache.hadoop.mapred.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:257)	at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:228)	at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:313)	at org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:199)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)	at scala.Option.getOrElse(Option.scala:120)	at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)	at org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)	at scala.Option.getOrElse(Option.scala:120)	at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)	at org.apache.spark.api.python.PythonRDD.getPartitions(PythonRDD.scala:58)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)	at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)	at scala.Option.getOrElse(Option.scala:120)	at org.apache.spark.rdd.RDD.partitions(RDD.scala:237)	at org.apache.spark.SparkContext.runJob(SparkContext.scala:1929)	at org.apache.spark.rdd.RDD$$anonfun$collect$1.apply(RDD.scala:927)	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)	at org.apache.spark.rdd.RDD.withScope(RDD.scala:316)	at org.apache.spark.rdd.RDD.collect(RDD.scala:926)	at org.apache.spark.api.python.PythonRDD$.collectAndServe(PythonRDD.scala:405)	at org.apache.spark.api.python.PythonRDD.collectAndServe(PythonRDD.scala)	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)	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)	at py4j.Gateway.invoke(Gateway.java:259)	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)	at py4j.commands.CallCommand.execute(CallCommand.java:79)	at py4j.GatewayConnection.run(GatewayConnection.java:209)	at java.lang.Thread.run(Thread.java:745)