Re: Retrieving dead node's token from system keyspace

2010-10-08 Thread Jonathan Ellis
You only need to removetoken if you want to re-replicate data to other nodes. If each node has a full copy of the data, and the other nodes have forgotten about the dead node anyway, there is no need. (If they have not forgotten about the dead node, then the token will be in the ring information.

Re: Retrieving dead node's token from system keyspace

2010-10-08 Thread Allan Carroll
I had a cluster of three nodes with RF=3 that I was using. Then, my demand dropped off quite a bit and I was trying to bring the cluster down to just one node for some time while working on other things to lower my server costs. Dropping the first node off the cluster worked fine using nodetoo

Re: Retrieving dead node's token from system keyspace

2010-10-08 Thread Allan Carroll
I had a cluster of three nodes with RF=3 that I was using. Then, my demand dropped off quite a bit and I was trying to bring the cluster down to just one node for some time while working on other things to lower my server costs. Dropping the first node off the cluster worked fine using nodetoo

Re: Retrieving dead node's token from system keyspace

2010-10-07 Thread Matthew Dennis
Allan, I'm confused on why removetoken doesn't do anything and would be interested in finding out why, but to answer your question: You can shutdown down your last node, nuke the system directory (make a backup just in case), restart the node, load the schema (export it first if need be) and be o

Re: Retrieving dead node's token from system keyspace

2010-10-07 Thread Aaron Morton
Allan, I'm a bit confused about what you are trying to do here. You have 2 nodes with RF = ? , you lost one node completely and now you want to...Just get a cluster running again, don't worry about the data.ORRestore the data from the dead node. ORCreate a cluster with the data from the remaining n

Re: Retrieving dead node's token from system keyspace

2010-10-07 Thread Allan Carroll
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 ha

Retrieving dead node's token from system keyspace

2010-10-07 Thread Allan Carroll
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 ret