org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException

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
  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
  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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to start Cassandra due to corrupted sstable

    Stack Overflow | 6 months ago | Zavfel
    org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException

  1. davidvanlaatum 1 times, last 3 months ago
  2. Bardh 4 times, last 6 months ago
4 unregistered visitors
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

    null

    at java.io.DataInputStream.readUnsignedShort()
  2. Java RT
    DataInputStream.readUTF
    1. java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)[na:1.8.0_25]
    2. java.io.DataInputStream.readUTF(DataInputStream.java:589)[na:1.8.0_25]
    3. java.io.DataInputStream.readUTF(DataInputStream.java:564)[na:1.8.0_25]
    3 frames
  3. org.apache.cassandra
    SSTableReader$4.run
    1. org.apache.cassandra.io.compress.CompressionMetadata.<init>(CompressionMetadata.java:104)[apache-cassandra-2.1.2.jar:2.1.2]
    2. org.apache.cassandra.io.compress.CompressionMetadata.create(CompressionMetadata.java:83)[apache-cassandra-2.1.2.jar:2.1.2]
    3. org.apache.cassandra.io.util.CompressedSegmentedFile$Builder.metadata(CompressedSegmentedFile.java:50)[apache-cassandra-2.1.2.jar:2.1.2]
    4. org.apache.cassandra.io.util.CompressedPoolingSegmentedFile$Builder.complete(CompressedPoolingSegmentedFile.java:48)[apache-cassandra-2.1.2.jar:2.1.2]
    5. org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:767)[apache-cassandra-2.1.2.jar:2.1.2]
    6. org.apache.cassandra.io.sstable.SSTableReader.load(SSTableReader.java:726)[apache-cassandra-2.1.2.jar:2.1.2]
    7. org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:403)[apache-cassandra-2.1.2.jar:2.1.2]
    8. org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:303)[apache-cassandra-2.1.2.jar:2.1.2]
    9. org.apache.cassandra.io.sstable.SSTableReader$4.run(SSTableReader.java:439)[apache-cassandra-2.1.2.jar:2.1.2]
    9 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_25]
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_25]
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_25]
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_25]
    5. java.lang.Thread.run(Thread.java:745)[na:1.8.0_25]
    5 frames