Skip to content

Instantly share code, notes, and snippets.

acm1 / gist:a2cf2a475ef57245db62
Created October 6, 2015 21:43 — forked from nstielau/gist:3373649
Remove an unreachable node from Cassandra via JMX
java -jar jmxsh-R*.jar -h localhost -p 7199
% [Hit Enter to go into Browse Mode]
Select a domain: [Enter number for]
Select an mbean: [Enter number for]
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 unsafeAssassinateEndpoint <STALE-IP-ADDRESS>

Keybase proof

I hereby claim:

  • I am acm1 on github.
  • I am acm ( on keybase.
  • I have a public key whose fingerprint is D565 65CE 206B 54D4 EE29 FBF3 3510 EC4C 3990 D009

To claim this, I am signing this object:

acm1 / gist:af82a7da748c77e09452
Created August 12, 2014 22:24
use for scout
gem source --add
gem install scout --no-rdoc --no-ri