O'Reilly logo

Practical Cassandra: A Developer’s Approach by Eric Lubow, Russell Bradberry

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

7. Maintenance

At this point, your cluster is up and running. There is data coming in and everything seems to be humming along. But Cassandra is not a set it and forget it system. There is maintenance required, and there are tools to help you perform the necessary maintenance tasks.

Understanding Nodetool

The most basic command that you should be familiar with when administering a Cassandra cluster is nodetool. nodetool is a command line interface to Cassandra cluster management. It can provide you with basic information about an individual node or all nodes in the cluster or ring.

As of Cassandra 1.2, nodetool provides the options shown in Listing 7.1

Listing 7.1. Nodetool output

 usage: java org.apache.cassandra.tools.NodeCmd --host <arg> ...

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