O'Reilly logo

Mastering Apache Cassandra - Second Edition by Nishant Neeraj

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cassandra's nodetool utility

The nodetool utility is a command-line utility that comes out of the box with Cassandra. You can access it from $CASSANDRA_HOME/bin/nodetool. It communicates with JMX to perform operational and monitoring tasks exposed by MBeans. It is much easier to use than JConsole. We have already seen a bit of nodetool in the previous chapter. The nodetool utility is a great tool for administration and monitoring. The following section will discuss some of its useful functionalities. Most of the nodetool commands are obvious and can be easily learned by reading the help text. Unfortunately, there is no help option, but it prints help messages anyway.

The following screenshot shows how to invoke methods via JConsole:

The standard ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required