Connection and domains

Download the JMXTerm jar from http://wiki.cyclopsgroup.org/jmxterm/download.html, then invoke JMXTerm from the CLI. Once you run the following command, Java just provides an interface to interact through JMX. This allows you to create a connection to the desired IP and port. If Cassandra is running on my local, 127.0.0.1:7199 can be used where JMX authentication and SSL are disabled on Cassandra:

java -jar <absolutePath>/jmxterm-1.0.0-uber.jaropen <IP>:7199

The preceding command will give the following output:

Figure 7.5: JMXTerm connection

The domains command gives all the MBean packages exposed by Cassandra, along ...

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.