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

Cassandra Daemon throws file not found exception.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Redhat 6
      Cassandra 2.0.9
      3 nodes cluster

    • Severity:
      Normal

      Description

      Under heavy load, the Cassandra nodes throwing file not found exceptions,

      ERROR [CompactionExecutor:450] 2014-08-11 16:24:26,778 CassandraDaemon.java (line 199) Exception in thread Thread[CompactionExecutor:450,1,main]
      java.lang.RuntimeException: java.io.FileNotFoundException: /opt/5620sam/samauxdb/data/samdb/acc_stats_log_records/samdb-acc_stats_log_records-jb-1501-Data.db (No such file or directory)
      at org.apache.cassandra.io.compress.CompressedThrottledReader.open(CompressedThrottledReader.java:52)
      at org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:1355)
      at org.apache.cassandra.io.sstable.SSTableScanner.<init>(SSTableScanner.java:67)
      at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1161)
      at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1173)
      at org.apache.cassandra.db.compaction.LeveledCompactionStrategy$LeveledScanner.computeNext(LeveledCompactionStrategy.java:294)
      at org.apache.cassandra.db.compaction.LeveledCompactionStrategy$LeveledScanner.computeNext(LeveledCompactionStrategy.java:226)
      at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
      at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
      at org.apache.cassandra.utils.MergeIterator$Candidate.advance(MergeIterator.java:144)
      at org.apache.cassandra.utils.MergeIterator$ManyToOne.advance(MergeIterator.java:123)
      at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:97)
      at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
      at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
      at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:154)
      at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
      at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
      at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:60)
      at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
      at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:198)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      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:745)
      Caused by: java.io.FileNotFoundException: /opt/5620sam/samauxdb/data/samdb/acc_stats_log_records/samdb-acc_stats_log_records-jb-1501-Data.db (No such file or directory)
      at java.io.RandomAccessFile.open(Native Method)
      at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
      at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:58)
      at org.apache.cassandra.io.compress.CompressedRandomAccessReader.<init>(CompressedRandomAccessReader.java:76)
      at org.apache.cassandra.io.compress.CompressedThrottledReader.<init>(CompressedThrottledReader.java:34)
      at org.apache.cassandra.io.compress.CompressedThrottledReader.open(CompressedThrottledReader.java:48)
      ... 24 more
      ERROR [CompactionExecutor:450] 2014-08-11 16:24:26,782 CassandraDaemon.java (line 199) Exception in thread Thread[CompactionExecutor:450,1,main]
      java.lang.RuntimeException: java.io.FileNotFoundException: /opt/5620sam/samauxdb/data/samdb/acc_stats_log_records/samdb-acc_stats_log_records-jb-1501-Data.db (No such file or directory)

        Attachments

        1. logs.tar.gz
          3.66 MB
          Dharsan Logendran

          Issue Links

            Activity

              People

              • Assignee:
                marcuse Marcus Eriksson
                Reporter:
                dharsanl Dharsan Logendran
                Authors:
                Marcus Eriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: