cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "NodeProbe" by MarkR
Date Tue, 01 Dec 2009 14:46:03 GMT
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 MarkR.
http://wiki.apache.org/cassandra/NodeProbe?action=diff&rev1=3&rev2=4

--------------------------------------------------

+ 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.
- 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
+ The `nodeprobe` utility provides a simple command line interface to these exposed operations
and attributes.
- 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.''
- ''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
+ Running `bin/nodeprobe` with no arguments produces some simple usage output.
- output.
  
  {{{
  usage: java org.apache.cassandra.tools.NodeProbe -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
+ The -host argument is required, the -port argument is optional and will default to 8080
if not supplied.
- default to 8080 if not supplied.
  
  == Ring ==
- The ring command will present a lame ascii art rendition of the ring, ''as
+ The ring command will present a lame ascii art rendition of the ring, ''as determined by
the node being queried.''
- determined by the node being queried.''
  
  {{{
  bin/nodeprobe -host 10.176.0.146 ring
@@ -36, +27 @@

  Token(137462771597874153173150284137310597304)  3 10.176.1.161   |   |
  Token(63538518574533451921556363897953848387)   3 10.176.1.162   |-->|
  }}}
- 
  == Cluster ==
- Displays the list of all known nodes and their status according to this
+ Displays the list of all known nodes and their status according to this nodes failure detector.
- nodes failure detector.
  
  {{{
  bin/nodeprobe -host 10.176.0.146 cluster
@@ -47, +36 @@

  10.176.1.161:7001     up
  10.176.1.162:7001     down
  }}}
- 
- 
  == Info ==
+ Outputs node information including the token, load info (on disk storage), generation number
(times started), uptime in seconds, and heap memory usage.
- 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
@@ -61, +47 @@

  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 10.176.0.146 cleanup
  }}}
- 
  == Compact ==
  Initiates an immediate table compaction.
  
  {{{
  bin/nodeprobe -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
  

Mime
View raw message