Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1299

EOFException in LazilyCompactedRow

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Critical

      Description

      Post CASSANDRA-270, 'ant clean long-test' fails with an EOFException in LazilyCompactedRow.

      java.io.IOError: java.io.EOFException
      	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:103)
      	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:32)
      	at org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:284)
      	at org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:326)
      	at org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:230)
      	at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:68)
      	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
      	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
      	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:604)
      	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
      	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
      	at org.apache.cassandra.db.ColumnIndexer.serializeInternal(ColumnIndexer.java:76)
      	at org.apache.cassandra.db.ColumnIndexer.serialize(ColumnIndexer.java:50)
      	at org.apache.cassandra.io.LazilyCompactedRow.<init>(LazilyCompactedRow.java:62)
      	at org.apache.cassandra.io.CompactionIterator.getCompactedRow(CompactionIterator.java:135)
      	at org.apache.cassandra.io.CompactionIterator.getReduced(CompactionIterator.java:107)
      	at org.apache.cassandra.io.CompactionIterator.getReduced(CompactionIterator.java:46)
      	at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:73)
      	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
      	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
      	at org.apache.commons.collections.iterators.FilterIterator.setNextObject(FilterIterator.java:183)
      	at org.apache.commons.collections.iterators.FilterIterator.hasNext(FilterIterator.java:94)
      	at org.apache.cassandra.db.CompactionManager.doCompaction(CompactionManager.java:334)
      	at org.apache.cassandra.db.LongCompactionSpeedTest.testCompaction(LongCompactionSpeedTest.java:101)
      	at org.apache.cassandra.db.LongCompactionSpeedTest.testCompactionWide(LongCompactionSpeedTest.java:49)
      Caused by: java.io.EOFException
      	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:725)
      	at java.io.RandomAccessFile.readLong(RandomAccessFile.java:758)
      	at org.apache.cassandra.db.TimestampClockSerializer.deserialize(TimestampClock.java:128)
      	at org.apache.cassandra.db.TimestampClockSerializer.deserialize(TimestampClock.java:119)
      	at org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:90)
      	at org.apache.cassandra.db.ColumnSerializer.deserialize(ColumnSerializer.java:31)
      	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.next(SSTableIdentityIterator.java:99)
      

        Attachments

        1. 1299.txt
          1 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              stuhood Stu Hood
              Authors:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: