cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <>
Subject Failed decommission
Date Sun, 25 Aug 2013 08:06:31 GMT
This on cass 1.2.8

Ring state before decommission

--  Address         Load       Owns   Host ID                               Token        
UN  38.82 GB   33.3%  21a98502-dc74-4ad0-9689-0880aa110409  1                  
UN   33.5 GB    33.3%  cba6b27a-4982-4f04-854d-cc73155d5f69  56713727820156407428984779325531226110
UN  37.41 GB   0.0%   6ba2c7d4-713e-4c14-8df8-f861fb211b0d  56713727820156407428984779325531226111
UN  35.7 GB    33.3%  bf3d4792-f3e0-4062-afe3-be292bc85ed7  113427455640312814857969558651062452222

Trying to decommission the node

ubuntu@$ nodetool decommission
Exception in thread "main" java.lang.NumberFormatException: For input string: "56713727820156407428984779325531226111"
	at java.lang.NumberFormatException.forInputString(
	at java.lang.Long.parseLong(
	at java.lang.Long.parseLong(
	at org.apache.cassandra.service.StorageService.extractExpireTime(
	at org.apache.cassandra.service.StorageService.handleStateLeft(
	at org.apache.cassandra.service.StorageService.onChange(
	at org.apache.cassandra.gms.Gossiper.doNotifications(
	at org.apache.cassandra.gms.Gossiper.addLocalApplicationState(
	at org.apache.cassandra.service.StorageService.leaveRing(
	at org.apache.cassandra.service.StorageService.unbootstrap(
	at org.apache.cassandra.service.StorageService.decommission(

Now I'm in a state where the machine is still "up" but "leaving" but I can't seem to get it
out of the ring.  For example:

% nodetool removenode 6ba2c7d4-713e-4c14-8df8-f861fb211b0d
Exception in thread "main" java.lang.UnsupportedOperationException: Node / is alive
and owns this ID. Use decommission command to remove it from the ring

Any ideas?

View raw message