com.datastax.driver.core.ConnectionException: [/x.x.x.x:9042] Timeout while setting keyspace on connection 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) at com.datastax.driver.core.Connection.setKeyspace(Connection.java:451)

DataStax JIRA | Gábor AUTH | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Timeout during the first connection: {code} 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) com.datastax.driver.core.ConnectionException: [/x.x.x.x:9042] Timeout while setting keyspace on connection 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) at com.datastax.driver.core.Connection.setKeyspace(Connection.java:451) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.HostConnectionPool.borrowConnection(HostConnectionPool.java:277) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.RequestHandler$SpeculativeExecution.query(RequestHandler.java:296) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.RequestHandler$SpeculativeExecution.sendRequest(RequestHandler.java:276) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.RequestHandler$SpeculativeExecution$1.run(RequestHandler.java:377) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-11-22 21:58:32,872 ERROR [stderr] (Thread-7) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2015-11-22 21:58:32,872 ERROR [stderr] (Thread-7) at java.lang.Thread.run(Thread.java:745) {code} After after the reconnect, works. :/

    DataStax JIRA | 1 year ago | Gábor AUTH
    com.datastax.driver.core.ConnectionException: [/x.x.x.x:9042] Timeout while setting keyspace on connection 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) at com.datastax.driver.core.Connection.setKeyspace(Connection.java:451)
  2. 0

    Timeout during the first connection: {code} 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) com.datastax.driver.core.ConnectionException: [/x.x.x.x:9042] Timeout while setting keyspace on connection 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) at com.datastax.driver.core.Connection.setKeyspace(Connection.java:451) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.HostConnectionPool.borrowConnection(HostConnectionPool.java:277) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.RequestHandler$SpeculativeExecution.query(RequestHandler.java:296) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.RequestHandler$SpeculativeExecution.sendRequest(RequestHandler.java:276) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at com.datastax.driver.core.RequestHandler$SpeculativeExecution$1.run(RequestHandler.java:377) 2015-11-22 21:58:32,871 ERROR [stderr] (Thread-7) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2015-11-22 21:58:32,872 ERROR [stderr] (Thread-7) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2015-11-22 21:58:32,872 ERROR [stderr] (Thread-7) at java.lang.Thread.run(Thread.java:745) {code} After after the reconnect, works. :/

    DataStax JIRA | 1 year ago | Gábor AUTH
    com.datastax.driver.core.ConnectionException: [/x.x.x.x:9042] Timeout while setting keyspace on connection 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) at com.datastax.driver.core.Connection.setKeyspace(Connection.java:451)

    Root Cause Analysis

    1. com.datastax.driver.core.ConnectionException

      [/x.x.x.x:9042] Timeout while setting keyspace on connection 2015-11-22 21:58:32,870 ERROR [stderr] (Thread-7) at com.datastax.driver.core.Connection.setKeyspace(Connection.java:451)

      at com.datastax.driver.core.HostConnectionPool.borrowConnection()
    2. DataStax Java Driver for Apache Cassandra - Core
      RequestHandler$SpeculativeExecution$1.run
      1. com.datastax.driver.core.HostConnectionPool.borrowConnection(HostConnectionPool.java:277)
      2. com.datastax.driver.core.RequestHandler$SpeculativeExecution.query(RequestHandler.java:296)
      3. com.datastax.driver.core.RequestHandler$SpeculativeExecution.sendRequest(RequestHandler.java:276)
      4. com.datastax.driver.core.RequestHandler$SpeculativeExecution$1.run(RequestHandler.java:377)
      4 frames
    3. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      1 frame