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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    Currently I am getting following exception, it is not happening everytime, but after sometimes this error keeps on popping up, due to which we are not able to do anything. Once we drop keyspace, exception given below goes away. We are using 2 nodes with replication factor of 2. [cqlsh 4.1.0 | Cassandra 2.0.4 | CQL spec 3.1.1 | Thrift protocol 19.39.0] Let me know, if you need configuration from our side. Exception:-- ERROR [ReadStage:104] 2014-08-05 14:09:25,392 CassandraDaemon.java (line 187) Exception in thread Thread[ReadStage:104,5,main] java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 1746 bytes out of 65535 at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1935) 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:744) Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 1746 bytes out of 65535 at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:82) at org.apache.cassandra.db.columniterator.SSTableSliceIterator.createReader(SSTableSliceIterator.java:65) at org.apache.cassandra.db.columniterator.SSTableSliceIterator.<init>(SSTableSliceIterator.java:42) at org.apache.cassandra.db.filter.SliceQueryFilter.getSSTableColumnIterator(SliceQueryFilter.java:167) at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:62) at org.apache.cassandra.db.CollationController.collectAllData(CollationController.java:250) at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:53) at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1516) at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1335) at org.apache.cassandra.db.Keyspace.getRow(Keyspace.java:327) at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:65) at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1396) at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1931) ... 3 more Caused by: java.io.EOFException: EOF after 1746 bytes out of 65535 at org.apache.cassandra.io.util.FileUtils.skipBytesFully(FileUtils.java:392) at org.apache.cassandra.utils.ByteBufferUtil.skipShortLength(ByteBufferUtil.java:382) at org.apache.cassandra.db.columniterator.SimpleSliceReader.<init>(SimpleSliceReader.java:70) ... 15 more ERRO

    Apache's JIRA Issue Tracker | 3 years ago | Pankaj Malhotra
    java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException: EOF after 1746 bytes out of 65535

    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