https://issues.apache.org/jira/browse/CASSANDRA-1790, fixed in rc2
On Tue, Dec 14, 2010 at 6:31 PM, Rishi Bhardwaj <khichri...@yahoo.com>wrote: > Has anyone seen this assert failure below? Seems like a race to delete a > commit > log file. I am running 0.7-beta1, I was wondering if this has already been > fixed, in which case I can merge that fix in my current tree. > > INFO [FLUSH-WRITER-POOL:1] 2010-12-14 03:12:38,364 Memtable.java (line > 157) > Completed flushing > /home/nutanix/data/cassandra/data/system/LocationInfo-e-38-Data.db > INFO [FLUSH-WRITER-POOL:1] 2010-12-14 03:12:38,365 Memtable.java (line > 150) > Writing memtable-statist...@724170471(114576 bytes, 28 operations) > INFO [FLUSH-WRITER-POOL:1] 2010-12-14 03:12:38,475 Memtable.java (line > 157) > Completed flushing > /home/nutanix/data/cassandra/data/system/Statistics-e-50-Data.db > INFO [COMMIT-LOG-WRITER] 2010-12-14 03:12:38,476 CommitLog.java (line 457) > Discarding obsolete commit > > log:CommitLogSegment(/home/nutanix/data/cassandra/commitlog/CommitLog-1292324828581.log) > > INFO [COMMIT-LOG-WRITER] 2010-12-14 03:12:38,480 CommitLog.java (line 457) > Discarding obsolete commit > > log:CommitLogSegment(/home/nutanix/data/cassandra/commitlog/CommitLog-1292324856740.log) > > INFO [COMMIT-LOG-WRITER] 2010-12-14 03:12:38,480 CommitLog.java (line 457) > Discarding obsolete commit > > log:CommitLogSegment(/home/nutanix/data/cassandra/commitlog/CommitLog-1292324878699.log) > > INFO [COMMIT-LOG-WRITER] 2010-12-14 03:12:38,481 CommitLog.java (line 457) > Discarding obsolete commit > > log:CommitLogSegment(/home/nutanix/data/cassandra/commitlog/CommitLog-1292325020121.log) > > ERROR [FILEUTILS-DELETE-POOL:1] 2010-12-14 03:12:38,481 > CassandraDaemon.java > (line 84) Uncaught exception in thread > Thread[FILEUTILS-DELETE-POOL:1,5,main] > java.util.concurrent.ExecutionException: java.lang.AssertionError: > attempted to > delete non-existing file CommitLog-1292324828581.log > at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252) > at java.util.concurrent.FutureTask.get(FutureTask.java:111) > at > > org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor.afterExecute(DebuggableThreadPoolExecutor.java:87) > > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1118) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:636) > Caused by: java.lang.AssertionError: attempted to delete non-existing file > CommitLog-1292324828581.log > at > org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:43) > at > > org.apache.cassandra.io.DeletionService$1.runMayThrow(DeletionService.java:47) > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com