incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hanna <jeremy.hanna1...@gmail.com>
Subject Re: My "nodetool" in Java
Date Wed, 20 Jul 2011 20:25:59 GMT
If you look at the bin/nodetool file, it's just a shell script to run org.apache.cassandra.tools.NodeCmd.
 You could probably call that directly from your code.

On Jul 20, 2011, at 3:18 PM, cbertu81@libero.it wrote:

> Hi all,
> I'd like to build something like "nodetool" to show the status of the ring 
> (nodes up-down, info on single node) all via JAVA.
> Do you have any tip for this? (I don't want to run the nodetool through java 
> and capture the output ...).
> 
> I have really no idea on how to do it ... :-)


Mime
View raw message