Hi Dillon,

I will assume you're using Murmur3 and that you *don't* use vnodes (ie
"num_token" option commented in cassandra.yaml) as if vnodes are enabled
this operation is useless (and maybe harmful, not sure about that)

Can you give us the output of :

$ *nodetool ring*

It looks like your trying to take a token already in use as described.

 After I added one node into the existed cluster, I want to use "nodetool
> move" command:


Why not starting with the good token setting "num_token" to this token ? A
move is quite an heavy operation, plus you will have to run *nodetool
cleanup *on all the nodes which have had their range reduced (node impacted
+ replicas) which is also long and potentially heavy to.

-----------------
Alain Rodriguez
France

The Last Pickle
http://www.thelastpickle.com

2016-01-26 5:19 GMT+01:00 土卜皿 <pengcz.n...@gmail.com>:

> Hi, all
>    After I added one node into the existed cluster, I want to use
> "nodetool move" command:
>
> ../cassandra-2.1.11/bin/nodetool -h 192.168.56.110 move
> -2696407920004217295
>
> I hope move  -2696407920004217295 (existed in 192.168.56.110) into
> 192.168.56.112, but I got the following error:
>
> [root@test-1 pengcz]# ../cassandra-2.1.11/bin/nodetool -h 192.168.56.110
> move -2696407920004217295
>
> error: target token -2696407920004217295 is already owned by another node.
>
> -- StackTrace --
>
> java.io.IOException: target token -2696407920004217295 is already owned by
> another node.
>
> at
> org.apache.cassandra.service.StorageService.move(StorageService.java:3479)
>
> What should I do for this, Thanks in advance!
>
>
> Dillon
>
>
>

Reply via email to