Check for and resolve schema disagreements.
Check for and resolve schema disagreements.
In the event that a schema disagreement occurs, check for and resolve schema
disagreements as follows:
Procedure
-
Run the nodetool describecluster command.
$ nodetool describecluster
If any node is UNREACHABLE, you see output something like
this:
$ nodetool describecluster
Snitch: org.apache.cassandra.locator.DynamicEndpointSnitch
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Schema versions:
UNREACHABLE: 1176b7ac-8993-395d-85fd-41b89ef49fbb: [10.202.205.203]
9b861925-1a19-057c-ff70-779273e95aa6: [10.80.207.102]
8613985e-c49e-b8f7-57ae-6439e879bb2a: [10.116.138.23]
-
Restart unreachable nodes.
-
Repeat steps 1 and 2 until nodetool describecluster shows
that all nodes have the same schema version number―only one schema version
appears in the output.