incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <gdusba...@gmail.com>
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.

Gary.

2010/2/1 Noble Paul നോബിള്‍  नोब्ळ् <noble.paul@gmail.com>:
> 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
>

Mime
View raw message