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 | 2 months ago
  1. 0

    Failed to use Spark shell

    Stack Overflow | 2 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

    What does the below error mean in PySpark and how to resolve it?

    Stack Overflow | 7 months ago | Star_Wars
    java.net.ConnectException: 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*******
  3. 0

    Pyspark Submit Error

    Stack Overflow | 3 weeks ago | Ashwii
    java.net.ConnectException: 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hadoop running application- ERROR security.UserGroupInformation: PriviledgedActionException

    Stack Overflow | 3 years ago | masoumeh
    java.net.ConnectException: Call From virtual-machine/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
  6. 0

    Import data from Oracle to HDFS using Sqoop2

    Stack Overflow | 2 years ago
    org.apache.sqoop.common.SqoopException: MAPREDUCE_0003:Can't get RunningJob instance

  1. RoiOtero 525 times, last 1 week ago
  2. nasimk 1595 times, last 1 day 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: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