[
https://issues.apache.org/jira/browse/CASSANDRA-8111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170933#comment-14170933
]
Michael Shuler commented on CASSANDRA-8111:
-------------------------------------------
This commit is causing all the unit tests to fail with an NPE in cassandra-2.0
branch (will check other branches)
{noformat}
13:44:06 [junit] Testsuite: org.apache.cassandra.cache.CacheProviderTest
13:44:09 [junit] Tests run: 0, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 2.851 sec
13:44:09 [junit]
13:44:09 [junit] Testcase: org.apache.cassandra.cache.CacheProviderTest:
Caused an ERROR
13:44:09 [junit] null
13:44:09 [junit] java.lang.ExceptionInInitializerError
13:44:09 [junit] at
org.apache.cassandra.SchemaLoader.cleanupAndLeaveDirs(SchemaLoader.java:432)
13:44:09 [junit] at
org.apache.cassandra.SchemaLoader.loadSchema(SchemaLoader.java:64)
13:44:09 [junit] at
org.apache.cassandra.SchemaLoader.loadSchema(SchemaLoader.java:58)
13:44:09 [junit] Caused by: java.lang.NullPointerException
13:44:09 [junit] at
org.apache.cassandra.db.commitlog.CommitLogArchiver.<init>(CommitLogArchiver.java:85)
13:44:09 [junit] at
org.apache.cassandra.db.commitlog.CommitLog.<init>(CommitLog.java:59)
13:44:09 [junit] at
org.apache.cassandra.db.commitlog.CommitLog.<clinit>(CommitLog.java:53)
13:44:09 [junit]
13:44:09 [junit]
13:44:09 [junit] Test org.apache.cassandra.cache.CacheProviderTest FAILED
{noformat}
http://cassci.datastax.com/job/cassandra-2.0_utest/621/
> Create backup directories for commitlog archiving during startup
> ----------------------------------------------------------------
>
> Key: CASSANDRA-8111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8111
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Jan Karlsson
> Priority: Trivial
> Labels: archive, commitlog
> Fix For: 2.0.11
>
> Attachments: CASSANDRA-8111.patch
>
>
> Cassandra currently crashes if the recovery directory in commitlog_archiving
> does not exist (or cannot be listed). I would like to propose that Cassandra
> creates this directory if it does not exist. This will mimic the behavior of
> creating data, commitlog .. etc. directories during startup.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)