Reputation: 4024
I have cassandra cluster of 6 nodes on ec2 , Many times i have observed that all the nodes in the cluster are up and running but when i do the describe cluster from client it shows some nodes as unreachable.
I can login to individual machines
can connect to cassandra node with cassandra client
can connect to individual nodes with JMX.
Upvotes: 5
Views: 1794
Reputation: 3330
I' am using hector as Cassandra client - maybe you have similar problem.
On CassandraHost
you can configure ExhaustedPolicy
. Default, if Cassandra is busy, such host will be marked as down - even if it is online. Hector checks all hosts marked as down every retryDownedHostsDelayInSeconds
.
Is is possible, that your host was busy for some time, it was marked down, and retry was not triggered yet?
Upvotes: 0
Reputation: 19377
sounds like you have listen_address/broadcast_address misconfigured.
Upvotes: 1