cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <>
Subject Re: How do cassandra clients failover?
Date Mon, 01 Feb 2010 13:58:58 GMT
One approach is to discover what other nodes there are before any of
them fail.  Then when you detect failure, you can connect to a
different node that is (hopefully) still responding.

There is an API call that allows you get get a list of all the nodes:
client.get_string_property("token map"), which returns a JSON list of
the node ring.

I hope that helps.


2010/2/1 Noble Paul നോബിള്‍  नोब्ळ् <>:
> The cassandra client (thift client) is started up with the host:post
> of a single cassandra node.
> * What happens if that node fails?
> * Does it mean that all the operations go through the same node?
> --Noble

View raw message