Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Assassinating a node on an older version

The nodetool assassinate command is new to Apache Cassandra as of version 2.2. Prior to Cassandra 2.2, this operation was still possible, but by invoking a command via JMX. For this to work, you will first need to download the JMXTerm JAR file from http://wiki.cyclopsgroup.org/jmxterm/.

Then, run the JAR file from the command line, connect to your node, and assassinate the endpoint:

$ java -jar ./jmxterm-1.0.0-uber.jarWelcome to JMX terminal. Type "help" for available commands.$>open 192.168.0.101:7199#Connection to 192.168.0.101:7199 is opened$>bean org.apache.cassandra.net:type=Gossiper#bean is set to org.apache.cassandra.net:type=Gossiper$>run unsafeAssassinateEndpoint 192.168.0.102#calling operation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content