java.lang.AssertionError: length is not > 0: 0

Stack Overflow | somecallmemike | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Cassandra AssertionError: length is not > 0

    Stack Overflow | 9 months ago | somecallmemike
    java.lang.AssertionError: length is not > 0: 0

    Root Cause Analysis

    1. java.lang.AssertionError

      length is not > 0: 0

      at org.apache.cassandra.utils.ByteBufferUtil.readBytes()
    2. Apache Cassandra
      ByteBufferUtil.readBytes
      1. org.apache.cassandra.utils.ByteBufferUtil.readBytes(ByteBufferUtil.java:408)
      1 frame
    3. org.apache.cassandra
      CassandraDaemon.main
      1. org.apache.cassandra.io.sstable.metadata.CompactionMetadata$CompactionMetadataSerializer.deserialize(CompactionMetadata.java:93)
      2. org.apache.cassandra.io.sstable.metadata.CompactionMetadata$CompactionMetadataSerializer.deserialize(CompactionMetadata.java:73)
      3. org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:123)
      4. org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:94)
      5. org.apache.cassandra.io.sstable.metadata.MetadataSerializer.mutateLevel(MetadataSerializer.java:133)
      6. org.apache.cassandra.db.compaction.LeveledManifest.add(LeveledManifest.java:132)
      7. org.apache.cassandra.db.compaction.LeveledCompactionStrategy.addSSTable(LeveledCompactionStrategy.java:278)
      8. org.apache.cassandra.db.compaction.CompactionStrategyManager.startup(CompactionStrategyManager.java:135)
      9. org.apache.cassandra.db.compaction.CompactionStrategyManager.reload(CompactionStrategyManager.java:187)
      10. org.apache.cassandra.db.compaction.CompactionStrategyManager.<init>(CompactionStrategyManager.java:75)
      11. org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:394)
      12. org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:353)
      13. org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:560)
      14. org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:537)
      15. org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:368)
      16. org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:305)
      17. org.apache.cassandra.db.Keyspace.open(Keyspace.java:129)
      18. org.apache.cassandra.db.Keyspace.open(Keyspace.java:106)
      19. org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:250)
      20. org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:551)
      21. org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:679)
      21 frames