cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shing Hing Man <mat...@yahoo.com>
Subject Cassandra 2.0.5 : *-jb-27-Data.db (No such file or directory)
Date Mon, 08 Sep 2014 15:22:59 GMT
Hi,
   I am running Cassandra 2.0.5 on my PC (with just one node and the default cassandra.yaml).


I have inserted  one million rows into a column family (each row has a int key, two  small
set<string> columns.) 

In cqlsh,  when I did a select count

 cqlsh:testks> select count(*) from ips_table limit 2000000;

I got the following exception :
     
ERROR 16:04:05,657 Exception in thread Thread[ReadStage:66,5,main]
java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /home/shing/installed/cassandras/filelogs/data/testks/ips_table/testks-ips_table-jb-27-Data.db
(No such file or directory)
at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1935)
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:724)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /home/shing/installed/cassandras/filelogs/data/testks/ips_table/testks-ips_table-jb-27-Data.db
(No such file or directory)
at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:59)
at org.apache.cassandra.io.sstable.SSTableReader.openDataReader(SSTableReader.java:1362)
at org.apache.cassandra.io.sstable.SSTableScanner.<init>(SSTableScanner.java:67)
at org.apache.cassandra.io.sstable.SSTableReader.getScanner(SSTableReader.java:1147)
at org.apache.cassandra.db.RowIteratorFactory.getIterator(RowIteratorFactory.java:69)
at org.apache.cassandra.db.ColumnFamilyStore.getSequentialIterator(ColumnFamilyStore.java:1599)
at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1718)
at org.apache.cassandra.db.PagedRangeCommand.executeLocally(PagedRangeCommand.java:111)
at org.apache.cassandra.service.StorageProxy$LocalRangeSliceRunnable.runMayThrow(StorageProxy.java:1418)
at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1931)
... 3 more


Are  there some Cassandra parameters I could set to get ride of the above exception ?

Thanks in advance for any assistance !

Shing
Mime
View raw message