You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Daning Wang <da...@netseer.com> on 2013/11/08 00:58:36 UTC

Move token to another node on 1.2.x

How to move a token to another node on 1.2.x? I have tried move command,

[cassy@dsat103.e1a ~]$ nodetool move 168755834953206242653616795390304335559
Exception in thread "main" java.io.IOException: target token
168755834953206242653616795390304335559 is already owned by another node.
at
org.apache.cassandra.service.StorageService.move(StorageService.java:2908)
at
org.apache.cassandra.service.StorageService.move(StorageService.java:2892)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


change the token number a bit

[cassy@dsat103.e1a ~]$ nodetool -h localhost move
168755834953206242653616795390304335560
This node has more than one token and cannot be moved thusly

We don't want to use cassandra-shuffle, because it put too much load on the
server. we just want to move some tokens.

Thanks,

Daning

Re: Move token to another node on 1.2.x

Posted by Robert Coli <rc...@eventbrite.com>.
On Thu, Nov 7, 2013 at 3:58 PM, Daning Wang <da...@netseer.com> wrote:

> How to move a token to another node on 1.2.x? I have tried move command,
>
 ...

> We don't want to use cassandra-shuffle, because it put too much load on
> the server. we just want to move some tokens.
>

driftx on #cassandra reminded me of :

https://issues.apache.org/jira/browse/CASSANDRA-4445

"balance utility for vnodes"

Which will allow the type of operation you describe, with vnodes. It will
utilize shuffle, which will probably actually work and not be so heavy an
operation when not being run on an entire cluster at once. :)

=Rob