Cannot start Cassandra - Snitch's Datacenter Differs from Previous

saysiva picture saysiva · Aug 15, 2016 · Viewed 9.9k times · Source

Im trying to start DSE 5.0.1 Cassandra (Single node) in my local.

Getting below error:

CassandraDaemon.java:698 - Cannot start node if snitch's data center (Cassandra) differs from previous data center (Graph). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true

Answer

stankov picture stankov · Aug 24, 2017

If you are using GossipingPropertyFileSnitch, start Cassandra with the option

-Dcassandra.ignore_dc=true

If it starts successfully, execute:

nodetool repair
nodetool cleanup

Afterwards, Cassandra should be able to start normally without the ignore option.