I have a fresh 2 node cluster setup with cassandra .74. Loaded up opscenter and was prompted to install the schema and data o nthe two nodes. Everything goes fine, but it appears that only the metrics column family actually populates on the cluster. When navigating I get "Error loading events: CassandraEventStore instance has no attribute 'timeline_begin'" since those cf's are missing. When trying to manually add a new cf or keyspace, cassandra comes back with a message " Cluster schema does not yet agree". I have cleared the data directory and reinstalled everything from scratch 3 or 4 times now with the same result. Cassandra bug?
Not all column families installing on 2 node cluster
(8 posts) (5 voices)-
Posted 2 years ago #
-
It sounds like you are running into
https://issues.apache.org/jira/browse/CASSANDRA-2536
We've just recently noticed this problem, although it doesn't appear to happen every time. To confirm it's the problem you are seeing you can start OpsCenter on a fresh 1 node cluster and then have your second node join.
Posted 2 years ago # -
Will do, let me give that a shot and report back. Thank you for the fast response BTW.
Posted 2 years ago # -
That seems to have worked.
Posted 2 years ago # -
I have the same problem. I tried to decommission nodes, restart nodes etc but the problem remains. Is there a way to force schema sync besides recreating the whole cluster and loosing all the data?
Posted 2 years ago # -
ithkuil, what does 'describe cluster' output from cassandra-cli?
Posted 2 years ago # -
Hi, I have the same problem, output from cassandra-cli 'describe cluster' :
Cluster Information:
Snitch: org.apache.cassandra.locator.RackInferringSnitch
Partitioner: org.apache.cassandra.dht.RandomPartitioner
Schema versions:
1a6e3144-8046-11e0-b087-b509a0bf770e: [172.16.10.10, 172.16.10.21, 172.16.10.20]
42770d03-8042-11e0-a464-4b4fcb9692bf: [172.16.10.7]Posted 2 years ago # -
just resolved this problem. I deleted system/* in cassandra data folder on the wrong node. Then the schema automatically sync
Cluster Information:
Snitch: org.apache.cassandra.locator.RackInferringSnitch
Partitioner: org.apache.cassandra.dht.RandomPartitioner
Schema versions:
1a6e3144-8046-11e0-b087-b509a0bf770e: [172.16.10.10, 172.16.10.7, 172.16.10.21, 172.16.10.20]Posted 2 years ago #
Reply
You must log in to post.
