incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allan Carroll <alla...@gmail.com>
Subject Re: Retrieving dead node's token from system keyspace
Date Thu, 07 Oct 2010 22:15:09 GMT
I was able to figure out to use the sstable2json tool to get the values out of the system keyspace.

Unfortunately, the node that went down took all of it's data with it and I only have access
to the system keyspace of the remaining live node. There were only two nodes and the one left
should have a whole DB copy.

Running removetoken on any of the values that appeared to be tokens in the LocationInfo cf
hasn't done any good. Perhaps I'm missing which value is the token of the dead node? Or, is
there a way to take down the last node and bring back up a new cluster using the sstables
that I have on the remaining node?

-Allan

On Oct 7, 2010, at 3:22 PM, Allan Carroll wrote:

> Hey all, 
> 
> I had a node go down that I'm not able to get a token for from nodetool ring.
> 
> The wiki says:
> 
> "You can obtain the dead node's token by running nodetool ring on any live node, unless
there was some kind of outage, and the others came up but not the down one -- in that case,
you can retrieve the token from the live nodes' system tables."
> 
> But, I can't for the life of me figure out how to get the system keyspace to give up
the secret. All attempts end up in:
> 
> ERROR [pool-1-thread-2] 2010-10-07 21:20:44,865 Cassandra.java (line 1280) Internal error
processing get_slice
> java.lang.RuntimeException: No replica strategy configured for system
> 
> 
> Can someone point me at a good way to get the token?
> 
> Thanks
> -Allan


Mime
View raw message