cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Is there any way to detect when a node is down so I can failover more effectively?
Date Thu, 03 Jun 2010 06:17:18 GMT
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 Patricio Echagüe <patricioe@gmail.com>:
> 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 need to execute against the db.
>
> I've seen this Thrift  method: get_string_property("token map") but it
> returns the nodes in the ring no matter is the node is down.
>
>
>
> Any advice?
>
> --
> Patricio.-
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message