Revisiting nodetool

Much of this chapter will focus on using Apache Cassandra's nodetool utility. As mentioned previously, the nodetool utility installs with Cassandra, and is central to most aspects of cluster management. Before we get too far into discussing it, there are some important things to note about nodetool:

  • It uses port 7199 for JMX.
  • Remote JMX access must be explicitly enabled within each node's configuration.
  • Without remote JMX, you will need to SSH into the node to utilize it in nodetool.
  • Nodetool is separate from Apache Cassandra. Different versions of nodetool can communicate with different versions of Cassandra, so use it with caution.

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.