[ 
https://issues.apache.org/jira/browse/CASSANDRA-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedict resolved CASSANDRA-7754.
---------------------------------

    Resolution: Not a Problem

[~shalupov] the first exception you posted is occurring during creation of the 
initial file for writing, the last exception you posted is not related to the 
other two, and the middle exception appears to be thrown during abort of a 
write due to some other error which then finds the data it had been writing is 
now missing, so I suggest you most likely have some problems with your file 
system. I would check your ACLs are all in order, and look for background 
cleanup / archive processes. 

I currently doubt there is a problem with C* from the information you've 
posted, especially as this code is exercised regularly and we haven't seen any 
issues elsewhere, but if after further investigation you continue to be 
convinced there is a bug, please reopen the ticket with some more information 
and reproduction steps so we can try to replicate it ourselves.

> 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)

Reply via email to