Таблица DSE 5.1.10 без столбцов .. Ошибка перезапуска

Ошибка при перезапуске Кассандры.

ОШИБКА [main] 2018-09-04 03: 04: 53,490 CassandraDaemon.java:723 - Исключение при запуске org.apache.cassandra.schema.SchemaKeyspace $ MissingColumns: столбцы не найдены в таблице схемы для test.test1 в org.apache .cassandra.schema.SchemaKeyspace.fetchColumns (SchemaKeyspace.java:1120) в org.apache.cassandra.schema.SchemaKeyspace.fetchTable (SchemaKeyspace.java:1066) в org.apache.cassandra.scheyspace.java. : 1009) по адресу org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace (SchemaKeyspace.java:963) по адресу org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout (SchemaKeyspace.jassgandra.apache. SchemaKeyspace.fetchNonSystemKeyspaces (SchemaKeyspace.java:928) в org.apache.cassandra.config.Schema.loadFromDisk (Schema.java:93) в org.apache.cassandra.config.Schema.loadFromDisk83) в orgava: .apache.cassandra.service.CassandraDae mon.setup (CassandraDaemon.java:263) в com.datastax.bdp.server.DseDaemon.setup (DseDaemon.java:481) в org.apache.cassandra.service.CassandraDaemon.activate (CassandraDaemon.java:617) в .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


person undefined_variable    schedule 04.09.2018    source источник


Ответы (2)


Выполните циклический перезапуск, чтобы убедиться, что схемы совпадают на всех узлах. после проверки, что есть только одна версия схемы.

person Mohamadreza Rostami    schedule 06.09.2018

попробуйте этот шаг, это в основном временно запускает Cassandra, игнорируя поврежденную схему

cassandra -Dcassandra.ignore_corrupted_schema_tables=true
person Benjamin G Nechicattu    schedule 21.01.2021