Cassandra AssertionError: length is not > 0 -


running following exception trying start 3.0.5 cassandra cluster. not sure means or how proceed.

info  14:14:05 initializing keyspace.table exception (java.lang.assertionerror) encountered during startup: length not > 0: 0 java.lang.assertionerror: length not > 0: 0     @ org.apache.cassandra.utils.bytebufferutil.readbytes(bytebufferutil.java:408)     @ org.apache.cassandra.io.sstable.metadata.compactionmetadata$compactionmetadataserializer.deserialize(compactionmetadata.java:93)     @ org.apache.cassandra.io.sstable.metadata.compactionmetadata$compactionmetadataserializer.deserialize(compactionmetadata.java:73)     @ org.apache.cassandra.io.sstable.metadata.metadataserializer.deserialize(metadataserializer.java:123)     @ org.apache.cassandra.io.sstable.metadata.metadataserializer.deserialize(metadataserializer.java:94)     @ org.apache.cassandra.io.sstable.metadata.metadataserializer.mutatelevel(metadataserializer.java:133)     @ org.apache.cassandra.db.compaction.leveledmanifest.add(leveledmanifest.java:132)     @ org.apache.cassandra.db.compaction.leveledcompactionstrategy.addsstable(leveledcompactionstrategy.java:278)     @ org.apache.cassandra.db.compaction.compactionstrategymanager.startup(compactionstrategymanager.java:135)     @ org.apache.cassandra.db.compaction.compactionstrategymanager.reload(compactionstrategymanager.java:187)     @ org.apache.cassandra.db.compaction.compactionstrategymanager.<init>(compactionstrategymanager.java:75)     @ org.apache.cassandra.db.columnfamilystore.<init>(columnfamilystore.java:394)     @ org.apache.cassandra.db.columnfamilystore.<init>(columnfamilystore.java:353)     @ org.apache.cassandra.db.columnfamilystore.createcolumnfamilystore(columnfamilystore.java:560)     @ org.apache.cassandra.db.columnfamilystore.createcolumnfamilystore(columnfamilystore.java:537)     @ org.apache.cassandra.db.keyspace.initcf(keyspace.java:368)     @ org.apache.cassandra.db.keyspace.<init>(keyspace.java:305)     @ org.apache.cassandra.db.keyspace.open(keyspace.java:129)     @ org.apache.cassandra.db.keyspace.open(keyspace.java:106)     @ org.apache.cassandra.service.cassandradaemon.setup(cassandradaemon.java:250)     @ org.apache.cassandra.service.cassandradaemon.activate(cassandradaemon.java:551)     @ org.apache.cassandra.service.cassandradaemon.main(cassandradaemon.java:679) error 10:37:43 exception encountered during startup 

your 1 table looks have corrupted metadata component. try running sstablescrub (https://docs.datastax.com/en/cassandra/2.2/cassandra/tools/toolssstablescrub.html) on sstables in affected table , remove offending one. should need run manifest check (--manifest-check option) since thats whats failing in stacktrace. once node starts again sure run repair on restore lost data.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -