没有列的DSE 5.1.10表..重新启动错误

问题描述 投票:0回答:1

cassandra重启时面临错误。

错误[主] 2018年9月4日03:04:53490 CassandraDaemon.java:723 - 在启动org.apache.cassandra.schema.SchemaKeyspace $ MissingColumns异常遇到:在架构表中找不到在org.apache test.test1列.cassandra.schema.SchemaKeyspace.fetchColumns(SchemaKeyspace.java:1120)在org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:1066)在org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java :1009)在org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:963)在org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:940)在org.apache.cassandra.schema。 SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:928)在org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:93)在org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:83)在组织.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:263)在com.datastax.bdp.server.DseDaemon.setup(DseDaemon的.java:481)在org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:617)在com.datastax.bdp.DseModule.main(DseModule.java:93)

注意:未创建此表。

user@cqlsh:test> desc test1 ;

CREATE TABLE test.test1 (

) WITH bloom_filter_fp_chance = 0.01
    AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
    AND comment = ''
    AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
    AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
    AND crc_check_chance = 1.0
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99PERCENTILE';

user@cqlsh:test> DROP TABLE test.test1;
InvalidRequest: Error from server: code=2200 [Invalid query] message="unconfigured table test1"
user@cqlsh:test>
user@cqlsh:test> SELECT * from test.test1;
InvalidRequest: Error from server: code=2200 [Invalid query] message="unconfigured table test1"

多个表发生此问题..某些表在system_schema.tables中不可用。

DSE 5.1.10

cassandra datastax datastax-enterprise
1个回答
0
投票

运行滚动重新启动以确保模式跨节点匹配。检查后只有一个模式版本。

© www.soinside.com 2019 - 2024. All rights reserved.