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

Major compaction IOException in 1.1.8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 1.1.9, 1.2.1
    • Component/s: None
    • Labels:
    • Severity:
      Normal

      Description

      Upgraded 1.1.6 to 1.1.8.

      Now I'm trying to do a major compaction, and seeing this:

      ERROR [CompactionExecutor:129] 2012-12-22 10:33:44,217 AbstractCassandraDaemon.java (line 135) Exception in thread Thread[CompactionExecutor:129,1,RMI Runtime]
      java.io.IOError: java.io.IOException: Bad file descriptor
      at org.apache.cassandra.utils.MergeIterator.close(MergeIterator.java:65)
      at org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:195)
      at org.apache.cassandra.db.compaction.CompactionManager$7.runMayThrow(CompactionManager.java:298)
      at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.io.IOException: Bad file descriptor
      at sun.nio.ch.FileDispatcher.preClose0(Native Method)
      at sun.nio.ch.FileDispatcher.preClose(FileDispatcher.java:59)
      at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:96)
      at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
      at java.io.FileInputStream.close(FileInputStream.java:258)
      at org.apache.cassandra.io.compress.CompressedRandomAccessReader.close(CompressedRandomAccessReader.java:131)
      at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:121)
      at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:97)
      at java.io.RandomAccessFile.close(RandomAccessFile.java:541)
      at org.apache.cassandra.io.util.RandomAccessReader.close(RandomAccessReader.java:224)
      at org.apache.cassandra.io.compress.CompressedRandomAccessReader.close(CompressedRandomAccessReader.java:130)
      at org.apache.cassandra.io.sstable.SSTableScanner.close(SSTableScanner.java:89)
      at org.apache.cassandra.utils.MergeIterator.close(MergeIterator.java:61)
      ... 9 more

        Attachments

        1. 5088.txt
          0.8 kB
          Jonathan Ellis
        2. 5088-v2.txt
          2 kB
          Jonathan Ellis
        3. 5088-v3.txt
          5 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              kmueller Karl Mueller
              Authors:
              Jonathan Ellis
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: