Database Reference
In-Depth Information
Completed
Commands n/a
0 33
Responses n/a 0
13575829
Info : This nodetool option gets all the required information about the node
specified in the following command:
bin/nodetool -host 10.176.0.146 info
Token(137462771597874153173150284137310597304)
Load Info : 0 bytes.
Generation No : 1
Uptime (seconds) : 697595
Heap Memory (MB) : 28.18 / 759.81
Cleanup : This is the option that is generally used when we scale the cluster.
New nodes are added and thus the existing nodes need to relinquish the control of
the keys that now belong to the new entrants in the cluster:
mydomain@my-cass3:/usr/local/cassandra/
apache-cassandra- 1.1.6/bin$ sudo -bE ./nodetool -h
10.3.12.178 cleanup my_keyspacemycf_index
mydomain@my-cass3:/usr/local/cassandra/
apache-cassandra- 1.1.6/bin$ du -h /var/lib/
cassandra/data/my_keyspace/mycf_index/
53G /var/lib/cassandra/data/my_keyspace/mycf_index/
aeris@nrt-prod-cass3-C2:/usr/local/cassandra/
apache-cassandra- 1.1.6/bin$ sudo `which jps
27389 Jps
26893 NodeCmd
17925 CassandraDaemon
mydomain@my-cass3:/usr/local/cassandra/
apache-cassandra- 1.1.6/bin$ du -h /var/lib/
cassandra/data/my_keyspace/mycf_index/
53G /var/lib/cassandra/data/my_keyspace/mycf_index/
Compaction : This is one of the most useful tools. It's used to explicitly issue
the compact command to Cassandra. This can be done on the entire node, key
space, or at the column family level:
Search WWH ::




Custom Search