You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Anurag Gujral <an...@gmail.com> on 2011/03/16 03:10:02 UTC
Getting list of active cassandra nodes
Hi All,
How can I get the list of active cassandra nodes using cassandra
api 0.7.
Thanks a ton,
Anurag
Re: Getting list of active cassandra nodes
Posted by aaron morton <aa...@thelastpickle.com>.
moving to user list.
describe_ring() will give you a list of the token ranges and the nodes that are responsible for them http://wiki.apache.org/cassandra/API . It does not include information on which nodes are up or down or bootstrapping.
Information about the state of the nodes is available on the StorageService JMX MBean.
AAron
On 16 Mar 2011, at 15:10, Anurag Gujral wrote:
> Hi All,
> How can I get the list of active cassandra nodes using cassandra
> api 0.7.
>
> Thanks a ton,
> Anurag