I think that is not possible. If currently both DC's are in use, you should
remove one of them (gently, by changing replication config), then change
num_tokens in removed dc, add it again with changing replication config, and
finally do the same for the other dc. P.S A while ago, there was a thread in
this forum, discussing that num_tokens 256 is not a good default in Cassandra
and should use a smaller number like 4,8 or 16, i recommend you to read it
through, maybe the whole migration (from 8 to 256) became unnecessary Sent
using Zoho Mail ============ Forwarded message ============ From : Goutham
reddy <goutham.chiru...@gmail.com> To : <user@cassandra.apache.org> Date : Fri,
02 Nov 2018 11:52:53 +0330 Subject : Re: Re: How to set num tokens on live node
============ Forwarded message ============ Onmstester, Thanks for the reply,
but for both the DC’s I need to change my num_token value from 8 to 256. So
that is the challenge I am facing. Any comments. Thanks and Regards, Goutham On
Fri, Nov 2, 2018 at 1:08 AM onmstester onmstester <onmstes...@zoho.com.invalid>
wrote: -- Regards Goutham Reddy IMHO, the best option with two datacenters is
to config replication strategy to stream data from dc with wrong num_token to
correct one, and then a repair on each node would move your data to the other
dc Sent using Zoho Mail ============ Forwarded message ============ From :
Goutham reddy <goutham.chiru...@gmail.com> To : <user@cassandra.apache.org>
Date : Fri, 02 Nov 2018 10:46:10 +0330 Subject : Re: How to set num tokens on
live node ============ Forwarded message ============ Elliott, Thanks Elliott,
how about if we have two Datacenters, any comments? Thanks and Regards,
Goutham. On Thu, Nov 1, 2018 at 5:40 PM Elliott Sims <elli...@backblaze.com>
wrote: -- Regards Goutham Reddy As far as I know, it's not possible to change
it live. You have to create a new "datacenter" with new hosts using the new
num_tokens value, then switch everything to use the new DC and tear down the
old. On Thu, Nov 1, 2018 at 6:16 PM Goutham reddy <goutham.chiru...@gmail.com>
wrote: Hi team, Can someone help me out I don’t find anywhere how to change the
numtokens on a running nodes. Any help is appreciated Thanks and Regards,
Goutham. -- Regards Goutham Reddy