take a look at mx4j
http://wiki.apache.org/cassandra/Operations#Monitoring_with_MX4J
someone told me once you can call the JMX ops via http, i've not checked
though.
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.com
On 16 Jun 2011,
Thanks, Aaron, but we determined that adding Java into the equation just
brings in too much complexity for something that's called out of an Nginx
Perl module. Right now I'm having trouble even replicating the above
scenario and posted a question here:
No force a node down you can use nodetool disablegossip
On Wed, Jun 15, 2011 at 6:42 PM, Suan Aik Yeo yeosuan...@gmail.com wrote:
Thanks, Aaron, but we determined that adding Java into the equation just
brings in too much complexity for something that's called out of an Nginx
Perl module.
None via thrift that I can recall, but the StorageService MBean exposes
getLiveNodes() this is what nodetool uses to see which nodes are live.
From the code...
/**
* Retrieve the list of live nodes in the cluster, where liveness is
* determined by the failure detector of the node
Is there a way (preferably an exposed method accessible through Thrift),
from a running Cassandra node to determine whether or not itself is up?
(Per Cassandra standards, I'm assuming based on the gossip protocol).
Another way to think of what I'm looking for is basically running nodetool
ring