Handling schema disagreements

Steps to check for and resolve schema disagreements.

In the event that a schema disagreement occurs, check for and resolve schema disagreements as follows:


  1. Using the Command Line Interface (CLI), run the DESCRIBE CLUSTER command.
    $ cassandra-cli -host localhost -port 9160
       [default@unknown] DESCRIBE cluster;
    If any node is UNREACHABLE, you see output something like this:
    [default@unknown] describe cluster;
    Cluster Information:
    Snitch: com.datastax.bdp.snitch.DseDelegateSnitch
    Partitioner: org.apache.cassandra.dht.RandomPartitioner
    Schema versions:
  2. Restart unreachable nodes.
  3. Repeat steps 1 and 2 until the DESCRIBE cluster command shows that all nodes have the same schema version number―only one schema version appears in the output of DESCRIBE cluster.