This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://jmxsh.googlecode.com/files/jmxsh-R5.jar | |
java -jar jmxsh-R*.jar -h localhost -p 7199 | |
% [Hit Enter to go into Browse Mode] | |
Select a domain: [Enter number for org.apache.cassandra.net] | |
Select an mbean: [Enter number for org.apache.cassandra.net:type=Gossiper] | |
Select an attribute or operation: [Enter number for unsafeAssassinateEndpoint(String p1)] | |
p1 (String): [Enter IP address of problem node] | |
It may also be possible to run it directly (untested): | |
% jmx_invoke -m org.apache.cassandra.net:type=Gossiper unsafeAssassinateEndpoint <STALE-IP-ADDRESS> |