com.spotify.docker.client.DockerException: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused

github.com | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [SPARK-9818] Re-enable Docker tests for JDBC data source by JoshRosen · Pull Request #9503 · apache/spark · GitHub

    github.com | 7 months ago
    com.spotify.docker.client.DockerException: java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused

    Root Cause Analysis

    1. com.spotify.docker.client.DockerException

      java.util.concurrent.ExecutionException: com.spotify.docker.client.shaded.javax.ws.rs.ProcessingException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:2375 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1, localhost/fe80:0:0:0:0:0:0:1%1] failed: Connection refused

      at com.spotify.docker.client.DefaultDockerClient.propagate()
    2. com.spotify.docker
      DefaultDockerClient.ping
      1. com.spotify.docker.client.DefaultDockerClient.propagate(DefaultDockerClient.java:1141)
      2. com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:1082)
      3. com.spotify.docker.client.DefaultDockerClient.ping(DefaultDockerClient.java:281)
      3 frames
    3. org.apache.spark
      DockerJDBCIntegrationSuite.beforeAll
      1. org.apache.spark.sql.jdbc.DockerJDBCIntegrationSuite.beforeAll(DockerJDBCIntegrationSuite.scala:76)
      1 frame
    4. scalatest
      BeforeAndAfterAll$class.beforeAll
      1. org.scalatest.BeforeAndAfterAll$class.beforeAll(BeforeAndAfterAll.scala:187)
      1 frame