Re: Cassandra All host(s) tried for query failed (no host was tried)

2017-08-30 Thread Nate McCall
If these app instances sit idle for a while, they might just be timing out their sockets. You can tweak socket settings on the driver as described here: https://github.com/datastax/java-driver/tree/3.x/manual/socket_options Perhaps start with explicitly setting keepAlive to true as that may or may

Re: Cassandra All host(s) tried for query failed (no host was tried)

2017-08-30 Thread Erick Ramirez
No host was tried because nodes were unresponsive and the driver marked them as down. When too many nodes get marked as down, the driver eventually runs out of nodes so ends up in NoHostAvailableException. Nodes become unresponsive because they are overloaded. You either throttle back the app thro

Re: Cassandra All host(s) tried for query failed (no host was tried)

2017-08-30 Thread Oleksandr Shulgin
On Wed, Aug 30, 2017 at 5:10 PM, Ivan Iliev wrote: > Hello everyone, > > We are using Cassandra 3.9 for storing quite a lot of data produced from > our tester machines. > > Occasionally, we are seeing issues with apps not being able to communicate > with Cassandra nodes, returning the following e