incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Freeman <8fo...@gmail.com>
Subject Re: cleanup failure; FileNotFoundException deleting (wrong?) db file
Date Wed, 06 Nov 2013 17:10:28 GMT
Is it possible that the keyspace was dropped then re-created ( 
https://issues.apache.org/jira/browse/CASSANDRA-4857)? I've seen similar 
stack traces in that case.

On 11/05/2013 10:47 PM, Elias Ross wrote:
>
> I'm seeing the following:
>
> Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-1-Data.db (No 
> such file or directory)
>         at 
> org.apache.cassandra.io.util.ThrottledReader.open(ThrottledReader.java:53)
>         at 
> org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:1212)
>         at 
> org.apache.cassandra.io.sstable.SSTableScanner.<init>(SSTableScanner.java:54)
>         at 
> org.apache.cassandra.io.sstable.SSTableReader.getDirectScanner(SSTableReader.java:1032)
>         at 
> org.apache.cassandra.db.compaction.CompactionManager.doCleanupCompaction(CompactionManager.java:594)
>         at 
> org.apache.cassandra.db.compaction.CompactionManager.access$500(CompactionManager.java:73)
>         at 
> org.apache.cassandra.db.compaction.CompactionManager$5.perform(CompactionManager.java:327)
>         at 
> org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:253)
>
> This is on an install with multiple data directories. The actual 
> directory contains files named something else:
>
> [rhq@st11p01ad-rhq006 ~]$ ls -l 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-*
> -rw-r--r-- 1 rhq rhq 849924573 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-Data.db
> -rw-r--r-- 1 rhq rhq        75 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-Digest.sha1
> -rw-r--r-- 1 rhq rhq    151696 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-Filter.db
> -rw-r--r-- 1 rhq rhq   2186766 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-Index.db
> -rw-r--r-- 1 rhq rhq      5957 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-Statistics.db
> -rw-r--r-- 1 rhq rhq     15276 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-Summary.db
> -rw-r--r-- 1 rhq rhq        72 Nov  1 14:24 
> /data05/rhq/data/rhq/six_hour_metrics/rhq-six_hour_metrics-ic-6-TOC.txt
>
>
> It seems like it's missing the files it needs to hit? Is there 
> something I can do here?


Mime
View raw message