cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonid Shalupov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7754) FileNotFoundException in MemtableFlushWriter
Date Sun, 17 Aug 2014 09:53:18 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099923#comment-14099923
] 

Leonid Shalupov commented on CASSANDRA-7754:
--------------------------------------------

Found on WARN level, seems to be related:

01:04:44.399 [SharedPool-Worker-3] DEBUG o.a.c.service.FileCacheService - Evicting cold readers
for /xxx/data/ideace/content-38cb3a5025a211e4af4261d16c1df9f6/ideace-content-ka-16-Data.db
01:04:44.426 [SharedPool-Worker-3] WARN  o.a.c.c.AbstractTracingAwareExecutorService - Uncaught
exception on thread Thread[SharedPool-Worker-3,10,main]: {}
java.lang.RuntimeException: java.lang.RuntimeException: java.io.FileNotFoundException: /xxx/data/ideace/content-38cb3a5025a211e4af4261d16c1df9f6/ideace-content-ka-16-Data.db
(No such file or directory)
	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2068)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_65]
	at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:163)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:103) [cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /xxx/data/ideace/content-38cb3a5025a211e4af4261d16c1df9f6/ideace-content-ka-16-Data.db
(No such file or directory)
	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:47)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.io.util.CompressedPoolingSegmentedFile.createReader(CompressedPoolingSegmentedFile.java:59)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.io.util.PoolingSegmentedFile.getSegment(PoolingSegmentedFile.java:40)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.io.sstable.SSTableReader.getFileDataInput(SSTableReader.java:1689)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.columniterator.SSTableNamesIterator.createFileDataInput(SSTableNamesIterator.java:93)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.columniterator.SSTableNamesIterator.readIndexedColumns(SSTableNamesIterator.java:209)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.columniterator.SSTableNamesIterator.read(SSTableNamesIterator.java:142)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.columniterator.SSTableNamesIterator.<init>(SSTableNamesIterator.java:59)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.filter.NamesQueryFilter.getSSTableColumnIterator(NamesQueryFilter.java:89)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.filter.QueryFilter.getSSTableColumnIterator(QueryFilter.java:62)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.CollationController.collectTimeOrderedData(CollationController.java:125)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.CollationController.getTopLevelColumns(CollationController.java:59)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1873)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1681)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.Keyspace.getRow(Keyspace.java:345) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.db.SliceByNamesReadCommand.getRow(SliceByNamesReadCommand.java:55)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1393)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2065)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	... 4 common frames omitted
Caused by: java.io.FileNotFoundException: /xxx/data/ideace/content-38cb3a5025a211e4af4261d16c1df9f6/ideace-content-ka-16-Data.db
(No such file or directory)
	at java.io.RandomAccessFile.open(Native Method) ~[na:1.7.0_65]
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241) ~[na:1.7.0_65]
	at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:58)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.<init>(CompressedRandomAccessReader.java:76)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	at org.apache.cassandra.io.compress.CompressedRandomAccessReader.open(CompressedRandomAccessReader.java:43)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
	... 21 common frames omitted


> FileNotFoundException in MemtableFlushWriter
> --------------------------------------------
>
>                 Key: CASSANDRA-7754
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7754
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Linux, OpenJDK 1.7
>            Reporter: Leonid Shalupov
>            Priority: Critical
>
> Exception in cassandra logs, after upgrade to 2.1:
> [MemtableFlushWriter:91] ERROR o.a.c.service.CassandraDaemon - Exception in thread Thread[MemtableFlushWriter:91,5,main]
> java.lang.RuntimeException: java.io.FileNotFoundException: /xxx/cassandra/data/system/batchlog-0290003c977e397cac3efdfdc01d626b/system-batchlog-tmp-ka-186-Index.db
(No such file or directory)
> 	at org.apache.cassandra.io.util.SequentialWriter.<init>(SequentialWriter.java:75)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.io.util.SequentialWriter.open(SequentialWriter.java:104) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.io.util.SequentialWriter.open(SequentialWriter.java:99) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.io.sstable.SSTableWriter$IndexWriter.<init>(SSTableWriter.java:550)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.io.sstable.SSTableWriter.<init>(SSTableWriter.java:134)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.db.Memtable$FlushRunnable.createFlushWriter(Memtable.java:383)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.db.Memtable$FlushRunnable.writeSortedContents(Memtable.java:330)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.db.Memtable$FlushRunnable.runWith(Memtable.java:314) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at 
> org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
~[guava-16.0.jar:na]
> 	at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1054)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_65]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_65]
> 	at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_65]
> Caused by: java.io.FileNotFoundException: /xxx/cassandra/data/system/batchlog-0290003c977e397cac3efdfdc01d626b/system-batchlog-tmp-ka-186-Index.db
(No such file or directory)
> 	at java.io.RandomAccessFile.open(Native Method) ~[na:1.7.0_65]
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241) ~[na:1.7.0_65]
> 	at org.apache.cassandra.io.util.SequentialWriter.<init>(SequentialWriter.java:71)
~[cassandra-all-2.1.0-rc5.jar:2.1.0-rc5]
> 	... 14 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message