You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andrew Hust (JIRA)" <ji...@apache.org> on 2015/10/14 18:28:05 UTC
[jira] [Resolved] (CASSANDRA-10521) snapshot dtests failing on 3.0
when JVM assertions disabled
[ https://issues.apache.org/jira/browse/CASSANDRA-10521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Hust resolved CASSANDRA-10521.
-------------------------------------
Resolution: Duplicate
> snapshot dtests failing on 3.0 when JVM assertions disabled
> -----------------------------------------------------------
>
> Key: CASSANDRA-10521
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10521
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Andrew Hust
> Fix For: 3.0.0 rc2
>
>
> {{snapshot_test.TestArchiveCommitlog.test_archive_commitlog_with_active_commitlog}}
> and
> {{snapshot_test.TestArchiveCommitlog.test_archive_commitlog_point_in_time_with_active_commitlog}}
> will fail when run on a cluster with JVM assertions disabled. The tests will hang when cassandra throws the following exception (in both cases):
> {code}
> java.lang.IllegalStateException: No match found
> at java.util.regex.Matcher.group(Matcher.java:536) ~[na:1.8.0_60]
> at org.apache.cassandra.db.lifecycle.LogFile.make(LogFile.java:52) ~[main/:na]
> at org.apache.cassandra.db.lifecycle.LogTransaction.removeUnfinishedLeftovers(LogTransaction.java:399) ~[main/:na]
> at org.apache.cassandra.db.lifecycle.LifecycleTransaction.removeUnfinishedLeftovers(LifecycleTransaction.java:552) ~[main/:na]
> at org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:571) ~[main/:na]
> at org.apache.cassandra.service.StartupChecks$7.execute(StartupChecks.java:274) ~[main/:na]
> at org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:103) ~[main/:na]
> at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:169) [main/:na]
> at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:548) [main/:na]
> at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:676) [main/:na]
> {code}
> These tests both pass with/without JVM assertions on C* 2.2 and pass on 3.0 when assertions are enabled.
> Ran against:
> apache/cassandra-2.2: {{7cab3272455bdd16b639c510416ae339a8613414}}
> apache/cassandra-3.0: {{f21c888510b0dbbea1a63459476f2dc54093de63}}
> Ran with cmd:
> {{JVM_EXTRA_OPTS=-da PRINT_DEBUG=true nosetests -xsv snapshot_test.py:TestArchiveCommitlog.test_archive_commitlog_point_in_time_with_active_commitlog}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)