Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "NodeProbe" page has been changed by EricEvans. http://wiki.apache.org/cassandra/NodeProbe?action=diff&rev1=4&rev2=5 -------------------------------------------------- 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. + The `nodetool` 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 log4j.properties), and a valid storage-conf property.'' - Running `bin/nodeprobe` with no arguments produces some simple usage output. + Running `bin/nodetool` with no arguments produces some simple usage output. {{{ - usage: java org.apache.cassandra.tools.NodeProbe -host <arg> <command> + usage: java org.apache.cassandra.tools.NodeCmd -host <arg> <command> -host <arg> node hostname or ip address -port <arg> remote jmx agent port number @@ -22, +22 @@ The ring command will present a lame ascii art rendition of the ring, ''as determined by the node being queried.'' {{{ - bin/nodeprobe -host 10.176.0.146 ring + bin/nodetool -host 10.176.0.146 ring Token(75603446264197340449435394672681112420) 3 10.176.0.146 |<--| Token(137462771597874153173150284137310597304) 3 10.176.1.161 | | Token(63538518574533451921556363897953848387) 3 10.176.1.162 |-->| @@ -31, +31 @@ Displays the list of all known nodes and their status according to this nodes failure detector. {{{ - bin/nodeprobe -host 10.176.0.146 cluster + bin/nodetool -host 10.176.0.146 cluster 10.176.0.146:7001 up 10.176.1.161:7001 up 10.176.1.162:7001 down @@ -40, +40 @@ 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 10.176.0.146 info + bin/nodetool -host 10.176.0.146 info Token(137462771597874153173150284137310597304) Load Info : 0 bytes. Generation No : 1 @@ -51, +51 @@ Triggers the immediate cleanup of keys no longer belonging to this node. {{{ - bin/nodeprobe -host 10.176.0.146 cleanup + bin/nodetool -host 10.176.0.146 cleanup }}} == Compact == Initiates an immediate table compaction. {{{ - bin/nodeprobe -host 10.176.0.146 compact + bin/nodetool -host 10.176.0.146 compact }}} == Decommission == Tells the node to move its data elsewhere; opposite of bootstrap. Since 0.5. See https://issues.apache.org/jira/browse/CASSANDRA-435
