HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

How do I migrate from PropertyFileSnitch to GossipingPropertyFileSnitch in DataStax Enterprise?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
propertyfilesnitchdatastaxmigrategossipingpropertyfilesnitchenterprisehowfrom

Problem

I have followed this link to migrate PropertyFileSnitch to GossipingPropertyFileSnitch but I'm getting this error:

INFO  [DSE main thread] 2022-09-08 14:12:44,295  StorageService.java:286 - Detected current DSE version 6.8.23 in local info
ERROR [DSE main thread] 2022-09-08 14:12:44,297  CassandraDaemon.java:938 - Cannot start node if snitch's data center (dc1) differs from previous data center (DC1). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true.


What am I doing wrong?

Solution

That almost sounds like the case between the data center names is different... "DC1" != "dc1".

Double check the data center names in the cassandra-rackdc.properties and cassandra-topology.properties files. If it was DC1 in the topology file, you'll want to make sure that it's also set similarly in the rackdc file:

dc=DC1

Context

StackExchange Database Administrators Q#316637, answer score: 3

Revisions (0)

No revisions yet.