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

Apache's JIRA Issue Tracker | Mike Konobeevskiy | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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
  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

    Unable to enable TLS using LDAPConnection

    netiq.com | 2 years ago
    java.io.EOFException: BERDecoder: decode: EOF in Identifier at com.novell.ldap.Connection$ReaderThread.run(Unknow n Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Map Reduce Error

    apache.org | 2 years ago
    java.io.EOFException: Premature EOF: no length prefix available at > org.apache.hadoop.hdfs.protocolPB.PBHelper.vintPrefixed(PBHelper.java:1492) at > org.apache.hadoop.hdfs.server.datanode.DataXceiver.writeBlock(DataXceiver.java:511) at > org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.opWriteBlock(Receiver.java:115) at > org.apache.hadoop.hdfs.protocol.datatransfer.Receiver.processOp(Receiver.java:68) at > org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:221)
  6. 0

    Tomcat NIO broken connections

    apache.org | 2 years ago
    java.io.EOFException: Unexpected EOF read on the socket at org.apache.coyote.http11.InternalNioInputBuffer.readSocket(InternalNioInputBuffer.java:447) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.http11.InternalNioInputBuffer.fill(InternalNioInputBuffer.java:795) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.http11.InternalNioInputBuffer.parseRequestLine(InternalNioInputBuffer.java:227) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:984) ~[tomcat-coyote.jar:7.0.55] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) [tomcat-coyote.jar:7.0.55] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1736) [tomcat-coyote.jar:7.0.55] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1695) [tomcat-coyote.jar:7.0.55] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_67] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_67] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.55]

    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 org.apache.cassandra.io.util.RandomAccessReader.readBytes()
    2. org.apache.cassandra
      RandomAccessReader.readBytes
      1. org.apache.cassandra.io.util.RandomAccessReader.readBytes(RandomAccessReader.java:354)[main/:na]
      1 frame
    3. Apache Cassandra
      ByteBufferUtil.readWithShortLength
      1. org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:357)[main/:na]
      2. org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUtil.java:336)[main/:na]
      2 frames
    4. org.apache.cassandra
      SSTableScanner$KeyScanningIterator.computeNext
      1. org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.computeNext(SSTableScanner.java:263)[main/:na]
      2. org.apache.cassandra.io.sstable.SSTableScanner$KeyScanningIterator.computeNext(SSTableScanner.java:203)[main/:na]
      2 frames
    5. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.jar:na]
      2. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.jar:na]
      2 frames
    6. org.apache.cassandra
      SSTableScanner.hasNext
      1. org.apache.cassandra.io.sstable.SSTableScanner.hasNext(SSTableScanner.java:183)[main/:na]
      1 frame
    7. Apache Cassandra
      MergeIterator.get
      1. org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:146)[main/:na]
      2. org.apache.cassandra.utils.MergeIterator$ManyToOne.<init>(MergeIterator.java:89)[main/:na]
      3. org.apache.cassandra.utils.MergeIterator.get(MergeIterator.java:48)[main/:na]
      3 frames
    8. org.apache.cassandra
      DiskAwareRunnable.runMayThrow
      1. org.apache.cassandra.db.compaction.CompactionIterable.iterator(CompactionIterable.java:47)[main/:na]
      2. org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:158)[main/:na]
      3. org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)[main/:na]
      3 frames
    9. Apache Cassandra
      WrappedRunnable.run
      1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[main/:na]
      1 frame
    10. org.apache.cassandra
      CompactionManager$7.runMayThrow
      1. org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:72)[main/:na]
      2. org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)[main/:na]
      3. org.apache.cassandra.db.compaction.CompactionManager$7.runMayThrow(CompactionManager.java:469)[main/:na]
      3 frames
    11. Apache Cassandra
      WrappedRunnable.run
      1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[main/:na]
      1 frame
    12. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_67]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_67]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_67]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_67]
      5. java.lang.Thread.run(Thread.java:745)[na:1.7.0_67]
      5 frames