com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details])

DataStax JIRA | mck | 2 years ago
  1. 0

    When a new node is started with auto_bootstrap=false all clients using the java cql driver died with NoHostAvailableException. We haven't been able to reproduce this problem anywhere but in our production (2.0.11). But have now seen it twice in production. Every client using the driver dies the second you start the new node ( with auto_bootstrap=false). This happens before the new node is actually up. Restarting the clients worked. but we suffered downtime :( We thought this was fixed in 2.1.4. We saw it first in 2.1.3, and we've had ongoing NoHostAvailableException problems since 2.0.x. We intentionally upgraded everything to 2.1.4 before today's attempt at joining the node again. It's as if the whole pool is replaced with only the new node ( which isn't up yet ). *History* +Wednesday 11th ~1.17pm+ – cassandra07 in DC1 was started with auto_bootstrap=true. +Thursday 12th ~12.05pm+ – streaming is finished. compaction starts. +Friday 13th ~7.30am+ – compactions are finished. +Friday 13th ~11.26am+ Still nothing happening. Closer investigations show that rebuilding two (from four) secondary indexes failed with tombstone overwhelm. We've entered a separate issue for this at https://issues.apache.org/jira/browse/CASSANDRA-8798 To get past this we had to raise org.apache.cassandra.db:type=StorageService.TombstoneFailureThreshold and manually rebuild the index. +2015-02-13 13:56:35+ – restart node with auto_bootstrap=false Clients immediately (13:56:37) throw NoHostAvailableException, before the node has finished starting up. All other clients using hector work ok. Restarting the clients fixes the problems so we restart all cql driver clients as quickly as possible. Errors on the clients appeared in different ways depending on their application code. Sometimes {noformat}Timeout while setting keyspace on connection to cassandra06.finn.no/152.90.241.35:7615. This should not happen but is not critical (it will retried){noformat}. In a client that has otherwise been behaving very well we got {noformat} com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details]) at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:289) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:205) at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:52) at no.finntech.ipgeoimport.dao.IPCounterDao.increment(IPCounterDao.java:291) at no.finntech.ipgeoimport.service.IPCounterServiceImpl.incrIpCounter(IPCounterServiceImpl.java:74) at no.finntech.ipgeoimport.jobs.KafkaEventConsumer$Callback.consume(KafkaEventConsumer.java:85) at no.finntech.ipgeoimport.jobs.KafkaEventConsumer$Callback.consume(KafkaEventConsumer.java:59) at no.finntech.commons.messaging.KafkaMessageConsumer$PartitionConsumer.run(KafkaMessageConsumer.java:367) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details]) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108) at com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179) ... 3 more {noformat} In a client we have had plenty of previous troubles with NoHostAvailableExceptions (due to a low connection timeout setting¹) we got {noformat}com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:289) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:237) at no.finntech.search.management.LastSearchesDbService.getLastSearchesFromCassandra(LastSearchesDbService.java:88) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:75) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:71) at no.finntech.search.management.SearchManagementServiceHandler.getSearches(SearchManagementServiceHandler.java:41) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:905) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:889) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.processWithStatsReporting(PacketInspectingMultiplexedProcessor.java:90) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.process(PacketInspectingMultiplexedProcessor.java:71) at no.finntech.greenpages.thrift.server.ZipkinTracedProcessor.process(ZipkinTracedProcessor.java:54) at no.finntech.greenpages.thrift.server.TMultiplexThreadPoolServer$WorkerProcess.run(TMultiplexThreadPoolServer.java:248) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108) at com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179) ... 3 more{noformat} (notice only one host was in the pool) and subsequently {noformat}com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:289) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:237) at no.finntech.search.management.LastSearchesDbService.getLastSearchesFromCassandra(LastSearchesDbService.java:88) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:75) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:71) at no.finntech.search.management.SearchManagementServiceHandler.getSearches(SearchManagementServiceHandler.java:41) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:905) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:889) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.processWithStatsReporting(PacketInspectingMultiplexedProcessor.java:90) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.process(PacketInspectingMultiplexedProcessor.java:71) at no.finntech.greenpages.thrift.server.ZipkinTracedProcessor.process(ZipkinTracedProcessor.java:54) at no.finntech.greenpages.thrift.server.TMultiplexThreadPoolServer$WorkerProcess.run(TMultiplexThreadPoolServer.java:248) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108) at com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179) ... 3 more {noformat} (it was wasn't for the other clients also dying this one makes me wonder about JAVA-663). Our clients are configured .withLoadBalancingPolicy(new LatencyAwarePolicy.Builder(new RoundRobinPolicy()).build()) .socketOptions.setConnectTimeoutMillis(2000) ¹ the troublesome client has .withSocketOptions(new SocketOptions().setConnectTimeoutMillis(50).setReadTimeoutMillis(500))

    DataStax JIRA | 2 years ago | mck
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details])
  2. 0

    When a new node is started with auto_bootstrap=false all clients using the java cql driver died with NoHostAvailableException. We haven't been able to reproduce this problem anywhere but in our production (2.0.11). But have now seen it twice in production. Every client using the driver dies the second you start the new node ( with auto_bootstrap=false). This happens before the new node is actually up. Restarting the clients worked. but we suffered downtime :( We thought this was fixed in 2.1.4. We saw it first in 2.1.3, and we've had ongoing NoHostAvailableException problems since 2.0.x. We intentionally upgraded everything to 2.1.4 before today's attempt at joining the node again. It's as if the whole pool is replaced with only the new node ( which isn't up yet ). *History* +Wednesday 11th ~1.17pm+ – cassandra07 in DC1 was started with auto_bootstrap=true. +Thursday 12th ~12.05pm+ – streaming is finished. compaction starts. +Friday 13th ~7.30am+ – compactions are finished. +Friday 13th ~11.26am+ Still nothing happening. Closer investigations show that rebuilding two (from four) secondary indexes failed with tombstone overwhelm. We've entered a separate issue for this at https://issues.apache.org/jira/browse/CASSANDRA-8798 To get past this we had to raise org.apache.cassandra.db:type=StorageService.TombstoneFailureThreshold and manually rebuild the index. +2015-02-13 13:56:35+ – restart node with auto_bootstrap=false Clients immediately (13:56:37) throw NoHostAvailableException, before the node has finished starting up. All other clients using hector work ok. Restarting the clients fixes the problems so we restart all cql driver clients as quickly as possible. Errors on the clients appeared in different ways depending on their application code. Sometimes {noformat}Timeout while setting keyspace on connection to cassandra06.finn.no/152.90.241.35:7615. This should not happen but is not critical (it will retried){noformat}. In a client that has otherwise been behaving very well we got {noformat} com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details]) at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:289) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:205) at com.datastax.driver.core.AbstractSession.execute(AbstractSession.java:52) at no.finntech.ipgeoimport.dao.IPCounterDao.increment(IPCounterDao.java:291) at no.finntech.ipgeoimport.service.IPCounterServiceImpl.incrIpCounter(IPCounterServiceImpl.java:74) at no.finntech.ipgeoimport.jobs.KafkaEventConsumer$Callback.consume(KafkaEventConsumer.java:85) at no.finntech.ipgeoimport.jobs.KafkaEventConsumer$Callback.consume(KafkaEventConsumer.java:59) at no.finntech.commons.messaging.KafkaMessageConsumer$PartitionConsumer.run(KafkaMessageConsumer.java:367) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details]) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108) at com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179) ... 3 more {noformat} In a client we have had plenty of previous troubles with NoHostAvailableExceptions (due to a low connection timeout setting¹) we got {noformat}com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:289) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:237) at no.finntech.search.management.LastSearchesDbService.getLastSearchesFromCassandra(LastSearchesDbService.java:88) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:75) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:71) at no.finntech.search.management.SearchManagementServiceHandler.getSearches(SearchManagementServiceHandler.java:41) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:905) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:889) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.processWithStatsReporting(PacketInspectingMultiplexedProcessor.java:90) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.process(PacketInspectingMultiplexedProcessor.java:71) at no.finntech.greenpages.thrift.server.ZipkinTracedProcessor.process(ZipkinTracedProcessor.java:54) at no.finntech.greenpages.thrift.server.TMultiplexThreadPoolServer$WorkerProcess.run(TMultiplexThreadPoolServer.java:248) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108) at com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179) ... 3 more{noformat} (notice only one host was in the pool) and subsequently {noformat}com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:84) at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:289) at com.datastax.driver.core.DefaultResultSetFuture.getUninterruptibly(DefaultResultSetFuture.java:237) at no.finntech.search.management.LastSearchesDbService.getLastSearchesFromCassandra(LastSearchesDbService.java:88) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:75) at no.finntech.search.management.LastSearchesDbService.getLastSearches(LastSearchesDbService.java:71) at no.finntech.search.management.SearchManagementServiceHandler.getSearches(SearchManagementServiceHandler.java:41) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:905) at no.finntech.search.management.SearchManagementService$Processor$getSearches.getResult(SearchManagementService.java:889) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.processWithStatsReporting(PacketInspectingMultiplexedProcessor.java:90) at no.finntech.greenpages.thrift.server.PacketInspectingMultiplexedProcessor.process(PacketInspectingMultiplexedProcessor.java:71) at no.finntech.greenpages.thrift.server.ZipkinTracedProcessor.process(ZipkinTracedProcessor.java:54) at no.finntech.greenpages.thrift.server.TMultiplexThreadPoolServer$WorkerProcess.run(TMultiplexThreadPoolServer.java:248) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed)) at com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108) at com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179) ... 3 more {noformat} (it was wasn't for the other clients also dying this one makes me wonder about JAVA-663). Our clients are configured .withLoadBalancingPolicy(new LatencyAwarePolicy.Builder(new RoundRobinPolicy()).build()) .socketOptions.setConnectTimeoutMillis(2000) ¹ the troublesome client has .withSocketOptions(new SocketOptions().setConnectTimeoutMillis(50).setReadTimeoutMillis(500))

    DataStax JIRA | 2 years ago | mck
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details])
  3. 0

    Path DB update fails

    GitHub | 3 years ago | neilprosser
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /1.1.1.1 (Timeout during read), /2.2.2.2 (Timeout during read))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Analyzer fails forever after first database timeout

    YouTrack | 2 years ago
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1 (com.datastax.driver.core.exceptions.DriverException: Timeout during read))
  6. 0

    Datastax client could not restore connection to running cassandra

    YouTrack | 2 years ago
    com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:10010 (com.datastax.driver.core.TransportException: [/127.0.0.1:10010] Connection has been closed))

    3 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. com.datastax.driver.core.exceptions.NoHostAvailableException

      All host(s) tried for query failed (tried: cassandra04.finn.no/152.90.241.27:7615 (com.datastax.driver.core.TransportException: [cassandra04.finn.no/152.90.241.27:7615] Connection has been closed), cassandra05.finn.no/152.90.241.30:7615 (com.datastax.driver.core.exceptions.DriverException: Timed out waiting for server response), cassandra06.finn.no/152.90.241.35:7615 (com.datastax.driver.core.TransportException: [cassandra06.finn.no/152.90.241.35:7615] Connection has been closed), cassandra03.finn.no/152.90.241.24:7615, cassandra02.finn.no/152.90.241.23:7615 [only showing errors of first 3 hosts, use getErrors() for more details])

      at com.datastax.driver.core.RequestHandler.sendRequest()
    2. DataStax Java Driver for Apache Cassandra - Core
      RequestHandler$1.run
      1. com.datastax.driver.core.RequestHandler.sendRequest(RequestHandler.java:108)
      2. com.datastax.driver.core.RequestHandler$1.run(RequestHandler.java:179)
      2 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames