incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curious Patient <mongoma...@gmail.com>
Subject Re: problem removing dead node from ring
Date Tue, 03 Jun 2014 17:53:47 GMT
Hi Rob,

If you are replacing an address, you need to use the identical
> initial_token to the node you are replacing, not the token -1.


Thanks, I hope that does the trick. Btw.. was my idea of how to get at the
initial token of the missing/dead node correct?

.i.e.


nodetool ring | grep 10.10.1.98 | head -1

I want to be sure I'm using the right token.

Thanks
Tim










On Tue, Jun 3, 2014 at 1:45 PM, Robert Coli <rcoli@eventbrite.com> wrote:

> On Tue, Jun 3, 2014 at 8:41 AM, Curious Patient <mongomaven@gmail.com>
> wrote:
>
>> I then started following this documentation on how to replace the node:
>> [
>> http://www.datastax.com/documentation/cassandra/2.0/cassandra/operations/ops_replace_node_t.html?scroll=task_ds_aks_15q_gk][1
>> ]
>>
>  ...
>
>> And set the initial token of the new install as the token -1 of the node
>> I'm trying to replace in cssandra.yaml:
>>  ...
>>     [root@web2:/etc/alternatives/cassandrahome] #./bin/cassandra -f
>> -Dcassandra.replace_address=10.10.1.98
>> ...
>> The documentation I link to above says to use the replace_address
>> directive on the command line rather than cassandra-env.sh if you have a
>> tarball install (which we do) as opposed to a package install.
>>
>
> If you are replacing an address, you need to use the identical
> initial_token to the node you are replacing, not the token -1.
>
> =Rob
>

Mime
View raw message