Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

adding cassandra node in new data center

Hello,

I'm adding new datacenter to a multiple datacenter infrastructure.

Now i'm adding 3 cassandra nodes using steps in the documentation.

I'm encountering this error on 2 new nodes:

WARN [GossipStage:1] 2024-07-08 11:04:02,205 TokenMetadata.java:196 - Token 56713727xxxxxxxxx42 changing ownership from /x.x.x.x to /y.y.y.y

And after this an existing node was removed (which is not what was expected) an the new host is added with it's new datacenter

The third host, i'm getting this error; 

INFO [main] 2024-07-09 11:33:04,896 StorageService.java:1138 - JOINING: getting bootstrap token
ERROR [main] 2024-07-09 11:33:04,901 CassandraDaemon.java:399 - Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Bootstrapping to existing token 11342xxxxxx256070685 is not allowed (decommission/removenode the old node first).

Any recommendations to add new cassandra nodes in a new datacenter ? did i missed a step ?

Thank you

Solved Solved
1 3 611
1 ACCEPTED SOLUTION

Hello @Hilda_Arteaga 

There were collision in cassandra initial token, when adding a new dc which value is not greater than other dc numbers

Solution was to update conf_cassandra_initial_token to custon unique values

View solution in original post

3 REPLIES 3