Cassandra 2.1.3版java.lang.AssertionError:试图删除不存在的文件system-compaction_history

时间:2015-04-05 21:11:01

标签: cassandra

根据升级说明,我从Cassandra 2.1.2升级到2.1.3。但是,我开始看到这个新的java.lang.AssertionError。见下面的日志。

环境:Windows 7(是的,我知道......),Java 1.8.0_11

ERROR [NonPeriodicTasks:1] 2015-04-05 20:34:39,638 CassandraDaemon.java:167 - Exception in thread Thread[NonPeriodicTasks:1,5,main]
java.lang.AssertionError: attempted to delete non-existing file system-compaction_history-tmplink-ka-548-Data.db
        at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:126) ~[apache-cassandra-2.1.3.jar:2.1.3]
        at org.apache.cassandra.io.sstable.SSTableReader$Tidier$1.run(SSTableReader.java:2072) ~[apache-cassandra-2.1.3.jar:2.1.3]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_11]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_11]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_11]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_11]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_11]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_11]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_11]

有谁知道这个错误是什么以及我如何纠正这个错误?或者,如果Apache已经有一个开放的JIRA?

1 个答案:

答案 0 :(得分:1)

请参阅以下链接中有关此问题的打开JIRA票证。基本上这可能是一个已知问题。已提交bug。

https://issues.apache.org/jira/browse/CASSANDRA-9121