org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 6823 bytes out of 25441

Apache's JIRA Issue Tracker | Mike Konobeevskiy | 3 years ago
  1. 0

    [CASSANDRA-6411] Issue with reading from sstable - ASF JIRA

    apache.org | 1 year ago
    org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 6823 bytes out of 25441
  2. 0

    With Cassandra 1.2.5 this happens almost every week. {noformat} java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 5105 bytes out of 19815 at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1582) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 5105 bytes out of 19815 at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:91) at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:68) at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:44) at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:101) at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:68) at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:274) at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:65) at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1357) at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1214) at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1126) at org.apache.cassandra.db.Table.getRow(Table.java:347) at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:70) at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1052) at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1578) ... 3 more Caused by: java.io.EOFException: EOF after 5105 bytes out of 19815 at org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:350) at org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:382) at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:72) ... 16 more {noformat} This is occurring roughly weekly with quite minimal usage. Recreation of CF does not help.

    Apache's JIRA Issue Tracker | 3 years ago | Mike Konobeevskiy
    org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 6823 bytes out of 25441
  3. 0

    With Cassandra 1.2.5 this happens almost every week. {noformat} java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 5105 bytes out of 19815 at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1582) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 5105 bytes out of 19815 at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:91) at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:68) at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:44) at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:101) at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:68) at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:274) at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:65) at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1357) at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1214) at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1126) at org.apache.cassandra.db.Table.getRow(Table.java:347) at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:70) at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1052) at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1578) ... 3 more Caused by: java.io.EOFException: EOF after 5105 bytes out of 19815 at org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:350) at org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:382) at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:72) ... 16 more {noformat} This is occurring roughly weekly with quite minimal usage. Recreation of CF does not help.

    Apache's JIRA Issue Tracker | 3 years ago | Mike Konobeevskiy
    org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 6823 bytes out of 25441
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    While Cassandra compaction Fatal exception in thread CompactionExecutor

    Stack Overflow | 5 years ago | samarth
    java.io.EOFException: EOF after 430959023 bytes out of 778986868
  6. 0

    Re: How to reindex lucene

    sling-users | 11 months ago | Julian Sedding
    java.io.EOFException: reached end of stream after reading 0 bytes; 717339 bytes expected

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      EOF after 6823 bytes out of 25441

      at org.apache.cassandra.io.util.FileUtils.skipBytesFully()
    2. org.apache.cassandra
      FileUtils.skipBytesFully
      1. org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:388)[main/:na]
      1 frame
    3. Apache Cassandra
      ByteBufferUtil.skipShortLength
      1. org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:334)[main/:na]
      1 frame
    4. org.apache.cassandra
      CassandraDaemon.main
      1. org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:68)[main/:na]
      2. org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:65)[main/:na]
      3. org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:42)[main/:na]
      4. org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:179)[main/:na]
      5. org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:62)[main/:na]
      6. org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:261)[main/:na]
      7. org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:59)[main/:na]
      8. org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1873)[main/:na]
      9. org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1681)[main/:na]
      10. org.apache.cassandra.db.DefsTables.serializedColumnFamilies(DefsTables.java:140)[main/:na]
      11. org.apache.cassandra.db.DefsTables.loadFromKeyspace(DefsTables.java:131)[main/:na]
      12. org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:610)[main/:na]
      13. org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:238)[main/:na]
      14. org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:455)[main/:na]
      15. org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:544)[main/:na]
      15 frames