cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cassandra Wiki] Update of "NodeProbe" by EricEvans
Date Tue, 16 Jun 2009 20:37:09 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The following page has been changed by EricEvans:

The comment on the change is:
initial draft

New page:
More and more instrumentation is being added to Cassandra. What
has traditionally only been available from the web interface can now be
obtained by querying the JMX agent.

The `nodeprobe` utility provides a simple command line interface to these
exposed operations and attributes.

''Note: This utility currently requires the same environment as cassandra
itself, namely the same classpath (including, and a valid
storage-conf property.''

Running `bin/nodeprobe` with no arguments produces some simple usage

usage: java -host <arg> <command>
 -host <arg>   node hostname or ip address
 -port <arg>   remote jmx agent port number

Available commands: ring, cluster, info, cleanup, compact

The -host argument is required, the -port argument is optional and will
default to 8080 if not supplied.

== Ring ==
The ring command will present a lame ascii art rendition of the ring, ''as
determined by the node being queried.''

bin/nodeprobe -host ring
Token(75603446264197340449435394672681112420)   3   |<--|
Token(137462771597874153173150284137310597304)  3   |   |
Token(63538518574533451921556363897953848387)   3   |-->|

== Cluster ==
Displays the list of all known nodes and their status according to this
nodes failure detector.

bin/nodeprobe -host cluster     up     up     down

== Info =
Outputs node information including the token, load info (on disk storage),
generation number (times started), uptime in seconds, and heap memory usage.

bin/nodeprobe -host info
Load Info        : 0 bytes.
Generation No    : 1
Uptime (seconds) : 697595
Heap Memory (MB) : 28.18 / 759.81

== Cleanup ==
Triggers the immediate cleanup of keys no longer belonging to this node.

bin/nodeprobe -host cleanup

== Compact ==
Initiates an immediate table compaction.

bin/nodeprobe -host compact

View raw message