October 2018
Beginner to intermediate
348 pages
10h
English
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 ...