java.net.ConnectException: Connection refused

  1. 0

    GitHub comment 569#240571786

    GitHub | 4 months ago | velvia
    java.net.ConnectException: Connection refused
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Corrupted data with the GraphiteReporter

    GitHub | 3 years ago | nguillaumin
    java.net.ConnectException: Connection refused
  4. 0

    Enabling Graphite and Ganglia Metrics Reporter not working in TP 3.2.0

    Google Groups | 2 weeks ago | Ankit Gupta
    java.net.ConnectException: Connection refused

  1. sriharshakiran 114 times, last 5 months ago
  2. trust56metal 1 times, last 1 year ago
5 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 java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    DefaultSocketFactory.createSocket
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:589)
    7. java.net.Socket.connect(Socket.java:538)
    8. java.net.Socket.<init>(Socket.java:434)
    9. java.net.Socket.<init>(Socket.java:244)
    10. javax.net.DefaultSocketFactory.createSocket(SocketFactory.java:277)
    10 frames
  3. Graphite Integration for Metrics
    GraphiteReporter.report
    1. com.codahale.metrics.graphite.Graphite.connect(Graphite.java:118)
    2. com.codahale.metrics.graphite.GraphiteReporter.report(GraphiteReporter.java:167)
    2 frames
  4. Metrics Core
    ScheduledReporter.report
    1. com.codahale.metrics.ScheduledReporter.report(ScheduledReporter.java:162)
    1 frame
  5. Spark
    MetricsSystem$$anonfun$report$1.apply
    1. org.apache.spark.metrics.sink.GraphiteSink.report(GraphiteSink.scala:91)
    2. org.apache.spark.metrics.MetricsSystem$$anonfun$report$1.apply(MetricsSystem.scala:114)
    3. org.apache.spark.metrics.MetricsSystem$$anonfun$report$1.apply(MetricsSystem.scala:114)
    3 frames
  6. Scala
    ArrayBuffer.foreach
    1. scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
    2. scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
    2 frames
  7. Spark
    SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply
    1. org.apache.spark.metrics.MetricsSystem.report(MetricsSystem.scala:114)
    2. org.apache.spark.SparkContext$$anonfun$stop$3.apply$mcV$sp(SparkContext.scala:1715)
    3. org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1219)
    4. org.apache.spark.SparkContext.stop(SparkContext.scala:1714)
    5. org.apache.spark.SparkContext$$anonfun$3.apply$mcV$sp(SparkContext.scala:596)
    6. org.apache.spark.util.SparkShutdownHook.run(ShutdownHookManager.scala:267)
    7. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ShutdownHookManager.scala:239)
    8. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(ShutdownHookManager.scala:239)
    9. org.apache.spark.util.SparkShutdownHookManager$$anonfun$runAll$1$$anonfun$apply$mcV$sp$1.apply(ShutdownHookManager.scala:239)
    9 frames