java.net.ConnectException: Call From marko/127.0.1.1 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

Stack Overflow | Marko | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Failed to use Spark shell

    Stack Overflow | 6 months ago | Marko
    java.net.ConnectException: Call From marko/127.0.1.1 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  2. 0

    ERROR when I use 'textFile.count()'

    Stack Overflow | 3 weeks ago | yl jiang
    java.net.ConnectException: Call From hadoop/192.168.81.129 to localhost:9000 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  3. 0

    Hive is not starting and show errors

    Stack Overflow | 12 months ago | codin
    java.lang.RuntimeException: java.net.ConnectException: Call From hadoop/10.2.0.15 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Geting an error related to hive metastore when starting spark-shell - Hortonworks

    hortonworks.com | 11 months ago
    java.lang.RuntimeException: java.net.ConnectException: Call From hadoop/10.2.0.15 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  6. 0

    Hadoop connection refused when a job is executed

    Stack Overflow | 6 months ago | Rain Fitzgerald
    java.net.ConnectException: Call From ip-172-31-8-103.us-west-1.compute.internal/172.31.8.103 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

  1. arturgajowy 329 times, last 1 day ago
  2. jstrayer 2 times, last 1 week ago
  3. chenjunjun 1 times, last 2 weeks ago
  4. Hronom 2 times, last 2 months ago
  5. batwalrus76 33 times, last 3 months ago
16 more registered users
79 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:716)
    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:531)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
    4. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:614)
    5. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:712)
    6. org.apache.hadoop.ipc.Client$Connection.access$2900(Client.java:375)
    7. org.apache.hadoop.ipc.Client.getConnection(Client.java:1528)
    8. org.apache.hadoop.ipc.Client.call(Client.java:1451)
    9. org.apache.hadoop.ipc.Client.call(Client.java:1412)
    10. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
    10 frames
  4. com.sun.proxy
    $Proxy20.getFileInfo
    1. com.sun.proxy.$Proxy20.getFileInfo(Unknown Source)
    1 frame
  5. Apache Hadoop HDFS
    ClientNamenodeProtocolTranslatorPB.getFileInfo
    1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:771)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  7. Hadoop
    RetryInvocationHandler.invoke
    1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:191)
    2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
    2 frames
  8. com.sun.proxy
    $Proxy21.getFileInfo
    1. com.sun.proxy.$Proxy21.getFileInfo(Unknown Source)
    1 frame
  9. Apache Hadoop HDFS
    DistributedFileSystem$22.doCall
    1. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2108)
    2. org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305)
    3. org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301)
    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:1317)
    1 frame
  12. Hadoop
    FileSystem.globStatus
    1. org.apache.hadoop.fs.Globber.getFileStatus(Globber.java:57)
    2. org.apache.hadoop.fs.Globber.glob(Globber.java:252)
    3. org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:1674)
    3 frames
  13. Hadoop
    FileInputFormat.getSplits
    1. org.apache.hadoop.mapred.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:259)
    2. org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:229)
    3. org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:315)
    3 frames
  14. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:200)
    2. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:248)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:246)
    3 frames
  15. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  16. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:246)
    2. org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:248)
    4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:246)
    4 frames
  17. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  18. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:246)
    2. org.apache.spark.api.python.PythonRDD.getPartitions(PythonRDD.scala:53)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:248)
    4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:246)
    4 frames
  19. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  20. Spark
    PythonRDD.collectAndServe
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:246)
    2. org.apache.spark.SparkContext.runJob(SparkContext.scala:1911)
    3. org.apache.spark.rdd.RDD$$anonfun$collect$1.apply(RDD.scala:893)
    4. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
    5. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
    6. org.apache.spark.rdd.RDD.withScope(RDD.scala:358)
    7. org.apache.spark.rdd.RDD.collect(RDD.scala:892)
    8. org.apache.spark.api.python.PythonRDD$.collectAndServe(PythonRDD.scala:453)
    9. org.apache.spark.api.python.PythonRDD.collectAndServe(PythonRDD.scala)
    9 frames
  21. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:483)
    4 frames
  22. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
    3. py4j.Gateway.invoke(Gateway.java:280)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:128)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:211)
    6 frames
  23. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame