R: Re: My "nodetool" in Java

2011-07-21 Thread cbert...@libero.it
It was easier than what I though :-) thanks >Messaggio originale >Da: jeremy.hanna1...@gmail.com >Data: 20/07/2011 22.25 >A: >Ogg: Re: My "nodetool" in Java > >If you look at the bin/nodetool file, it's just a shell script to run org. apache.cassandr

Re: My "nodetool" in Java

2011-07-20 Thread Jeremy Hanna
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 t

My "nodetool" in Java

2011-07-20 Thread cbert...@libero.it
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 ... :-)