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, cbert...@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 ... :-)