incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: FileNotFound after programmatic create/drop
Date Tue, 14 May 2013 18:25:54 GMT
>    I am using C* 1.2.4 with Vnodes and am getting the following error when attempting
to fetch some keys in a CQL2 table
Can you use CQL 3?

If you can reproduce this please raise a ticket on https://issues.apache.org/jira/browse/CASSANDRA

Cheers

-----------------
Aaron Morton
Freelance Cassandra Consultant
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 11/05/2013, at 8:23 AM, Keith Wright <kwright@nanigans.com> wrote:

> Hi all,
> 
>    I am using C* 1.2.4 with Vnodes and am getting the following error when attempting
to fetch some keys in a CQL2 table that was drop and recreated programmatically.  I'm wondering
how I can recover from this?  I tried a scrub but basically got the same error and so far
a repair has to help.  Is my only option to shutdown each node and clear out the directory
contents?  I'm willing to do so if necessary.  Also, I thought 1.2 added concurrent schema
changes so that this should never occur?
> 
> Thanks!
> 
> RROR [ReadStage:1078887] 2013-05-10 19:55:38,538 CassandraDaemon.java (line 174) Exception
in thread Thread[ReadStage:1078887,5,main]
> java.lang.RuntimeException: java.io.FileNotFoundException: /data/1/cassandra/data/rts/placementPerformance/rts-placementPerformance-ib-7-Data.db
(No such file or directory)
> at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:46)
> at org.apache.cassandra.io.util.CompressedSegmentedFile.createReader(CompressedSegmentedFile.java:57)
> at org.apache.cassandra.io.util.PoolingSegmentedFile.getSegment(PoolingSegmentedFile.java:41)
> at org.apache.cassandra.io.sstable.SSTableReader.getFileDataInput(SSTableReader.java:976)
> at org.apache.cassandra.db.columniterator.SSTableNamesIterator.createFileDataInput(SSTableNamesIterator.java:98)
> at org.apache.cassandra.db.columniterator.SSTableNamesIterator.read(SSTableNamesIterator.java:117)
> at org.apache.cassandra.db.columniterator.SSTableNamesIterator.<init>(SSTableNamesIterator.java:64)
> at org.apache.cassandra.db.filter.NamesQueryFilter.getSSTableColumnIterator(NamesQueryFilter.java:81)
> 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.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:64)
> at org.apache.cassandra.db.ReadVerbHandler.doVerb(ReadVerbHandler.java:44)
> at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
> 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:722)
> Caused by: java.io.FileNotFoundException: /data/1/cassandra/data/rts/placementPerformance/rts-placementPerformance-ib-7-Data.db
(No such file or directory)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
> at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:67)
> at org.apache.cassandra.io.compress.CompressedRandomAccessReader.<init>(CompressedRandomAccessReader.java:75)
> at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:42)
> ... 20 more


Mime
View raw message