java.net.ConnectException: 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

Stack Overflow | Benson Chen | 7 months ago
  1. 0

    Error when I try to use textFile in sparkR

    Stack Overflow | 7 months ago | Benson Chen
    java.net.ConnectException: 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
  2. 0

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

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

    Sunil's Notes

    blogspot.de | 1 year ago
    org.apache.oozie.servlet.XServletException: E0501: Could not perform authorization operation, Call From sandbox.hortonworks.com/10.0.2.15 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
  6. 0

    Sunil's Notes: May 2015

    blogspot.com | 1 year ago
    org.apache.oozie.servlet.XServletException: E0501: Could not perform authorization operation, Call From sandbox.hortonworks.com/10.0.2.15 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

  1. batwalrus76 33 times, last 2 weeks ago
  2. chenjunjun 2 times, last 6 days ago
  3. Alireza Mohamadi 132 times, last 2 weeks ago
  4. stigkj 1 times, last 1 month ago
  5. fervidnerd 126 times, last 1 month ago
15 more registered users
80 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:744)
    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:530)
    3. org.apache.hadoop.net.NetUtils.connect(NetUtils.java:494)
    4. org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:608)
    5. org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:706)
    6. org.apache.hadoop.ipc.Client$Connection.access$2800(Client.java:369)
    7. org.apache.hadoop.ipc.Client.getConnection(Client.java:1522)
    8. org.apache.hadoop.ipc.Client.call(Client.java:1439)
    9. org.apache.hadoop.ipc.Client.call(Client.java:1400)
    10. org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:232)
    10 frames
  4. com.sun.proxy
    $Proxy19.getFileInfo
    1. com.sun.proxy.$Proxy19.getFileInfo(Unknown Source)
    1 frame
  5. Apache Hadoop HDFS
    ClientNamenodeProtocolTranslatorPB.getFileInfo
    1. org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:752)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. Hadoop
    RetryInvocationHandler.invoke
    1. org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:187)
    2. org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
    2 frames
  8. com.sun.proxy
    $Proxy20.getFileInfo
    1. com.sun.proxy.$Proxy20.getFileInfo(Unknown Source)
    1 frame
  9. Apache Hadoop HDFS
    DistributedFileSystem$18.doCall
    1. org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:1977)
    2. org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118)
    3. org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
    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:1114)
    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:1644)
    3 frames
  13. Hadoop
    FileInputFormat.getSplits
    1. org.apache.hadoop.mapred.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:257)
    2. org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:228)
    3. org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:313)
    3 frames
  14. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:199)
    2. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
    3 frames
  15. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  16. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
    2. org.apache.spark.rdd.MapPartitionsRDD.getPartitions(MapPartitionsRDD.scala:35)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
    4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
    4 frames
  17. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  18. Spark
    RDD$$anonfun$partitions$2.apply
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
    2. org.apache.spark.api.python.PythonRDD.getPartitions(PythonRDD.scala:58)
    3. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:239)
    4. org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:237)
    4 frames
  19. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:120)
    1 frame
  20. Spark
    PythonRDD.collectAndServe
    1. org.apache.spark.rdd.RDD.partitions(RDD.scala:237)
    2. org.apache.spark.SparkContext.runJob(SparkContext.scala:1929)
    3. org.apache.spark.rdd.RDD$$anonfun$collect$1.apply(RDD.scala:927)
    4. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
    5. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
    6. org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
    7. org.apache.spark.rdd.RDD.collect(RDD.scala:926)
    8. org.apache.spark.api.python.PythonRDD$.collectAndServe(PythonRDD.scala:405)
    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:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  22. Py4J
    GatewayConnection.run
    1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
    2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
    3. py4j.Gateway.invoke(Gateway.java:259)
    4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
    5. py4j.commands.CallCommand.execute(CallCommand.java:79)
    6. py4j.GatewayConnection.run(GatewayConnection.java:209)
    6 frames
  23. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame