如何启动cassandra节点,使其表在模式表中没有任何分区键列

fxnxkyjh  于 2021-06-10  发布在  Cassandra
关注(0)|答案(0)|浏览(236)

我遇到了严重的问题Cassandra有单节点。我从datastax devcenter运行drop materialize view/tables all together(差不多10-15个drop语句,创建了表/视图查询),但它抛出了操作失败错误,cassandra也跟着它走了。
当我开始做Cassandra的时候失败了。Cassandra日志显示:

Exception (java.lang.AssertionError) encountered during startup: Table keyspace.table did not have any partition key columns in the schema tables
ERROR 08:19:00 Exception encountered during startup
java.lang.AssertionError: Table keyspace.table did not have any partition key columns in the schema tables
at org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:950) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java:925) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:888) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:865) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:853) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:136) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:126) ~[apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:260) [apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601) [apache-cassandra-3.9.0.jar:3.9.0]
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:730) [apache-cassandra-3.9.0.jar:3.9.0]

现在我该怎么处理这个案子?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题