Re: Is there any way to detect when a node is down so I can failover more effectively?

2010-06-04 Thread Patricio Echagüe
Thanks Johathan On Wed, Jun 2, 2010 at 11:17 PM, Jonathan Ellis wrote: > you're overcomplicating things. > > just connect to *a* node, and if it happens to be down, try a different > one. > > nodes being down should be a rare event, not a normal condition. no > need to optimize for it so much.

Re: Is there any way to detect when a node is down so I can failover more effectively?

2010-06-02 Thread Jonathan Ellis
you're overcomplicating things. just connect to *a* node, and if it happens to be down, try a different one. nodes being down should be a rare event, not a normal condition. no need to optimize for it so much. also see http://wiki.apache.org/cassandra/FAQ#node_clients_connect_to 2010/6/1 Patri

Is there any way to detect when a node is down so I can failover more effectively?

2010-06-01 Thread Patricio Echagüe
Hi all, I'm using Hector framework to interact with Cassandra and at trying to handle failover more effectively I found it a bit complicated to fetch all cassandra nodes that are up and running. My goal is to keep an up-to-date list of active/up Cassandra servers to provide HEctor every time I nee