incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Client lib
Date Thu, 18 Apr 2013 14:19:39 GMT
You can get the topology info from thrift's describe_ring. But you can not
get host/gossip status through thrift. It does make sense as something to
add. In the native protocol and with the fat client(storage proxy) you can
hook into these events.

An example of this is here (fat client):

https://github.com/zznate/intravert-ug/blob/master/src/main/java/org/usergrid/vx/server/IntravertClusterNotifier.java


Basically implement IMigrationListener and you are made aware of metadata
changing events. I believe a similar interface exists for topology changes.



On Thu, Apr 18, 2013 at 10:09 AM, Kanwar Sangha <kanwar@mavenir.com> wrote:

>  Hi – We are planning to develop a custom client using the Thrift API for
> Cassandra. Are these available from the JMX ?
>
>
>
> - Can cassandra provide info abt node status?
>
> - DC Failover detection (data center down, vs some nodes are down)
>
> - How to get load info from each node?
>
>
>
> Thanks,
>
> Kanwar
>
>
>
>
>

Mime
View raw message