cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-8656) long-test LongLeveledCompactionStrategyTest flaps in 2.0
Date Tue, 02 Jun 2015 07:27:23 GMT

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

Stefania reassigned CASSANDRA-8656:
-----------------------------------

    Assignee: Stefania

> long-test LongLeveledCompactionStrategyTest flaps in 2.0
> --------------------------------------------------------
>
>                 Key: CASSANDRA-8656
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8656
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Michael Shuler
>            Assignee: Stefania
>            Priority: Minor
>              Labels: test-failure
>             Fix For: 2.0.x
>
>         Attachments: system.log
>
>
> LongLeveledCompactionStrategyTest periodically fails with:
> {noformat}
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 54.412 sec
>     [junit] 
>     [junit] Testcase: testParallelLeveledCompaction(org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest):
     Caused an ERROR
>     [junit] java.util.concurrent.ExecutionException: java.lang.RuntimeException: Last
written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing
into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db
>     [junit] java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException:
Last written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing
into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db
>     [junit]     at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:413)
>     [junit]     at org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:402)
>     [junit]     at org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest.testParallelLeveledCompaction(LongLeveledCompactionStrategyTest.java:97)
>     [junit] Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException:
Last written key DecoratedKey(3133, 3133) >= current key DecoratedKey(313236, 313236) writing
into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db
>     [junit]     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>     [junit]     at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>     [junit]     at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:409)
>     [junit] Caused by: java.lang.RuntimeException: Last written key DecoratedKey(3133,
3133) >= current key DecoratedKey(313236, 313236) writing into build/test/cassandra/data/Keyspace1/StandardLeveled/Keyspace1-StandardLeveled-tmp-jb-304-Data.db
>     [junit]     at org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:143)
>     [junit]     at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:166)
>     [junit]     at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:167)
>     [junit]     at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>     [junit]     at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:60)
>     [junit]     at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)
>     [junit]     at org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest$1.run(LongLeveledCompactionStrategyTest.java:87)
>     [junit]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     [junit]     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     [junit]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     [junit]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     [junit]     at java.lang.Thread.run(Thread.java:745)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest
FAILED
> {noformat}
> I would guess the failure is 10-20% of the time, looping over the test repeatedly.
> ----
> On the 2.1 branch, the failure is different, so perhaps this could also be updated.
> {noformat}
>     [junit] Testsuite: org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.04 sec
>     [junit] 
>     [junit] Testcase: testParallelLeveledCompaction(org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest):
     Caused an ERROR
>     [junit] org.apache.cassandra.db.compaction.WrappingCompactionStrategy cannot be cast
to org.apache.cassandra.db.compaction.LeveledCompactionStrategy
>     [junit] java.lang.ClassCastException: org.apache.cassandra.db.compaction.WrappingCompactionStrategy
cannot be cast to org.apache.cassandra.db.compaction.LeveledCompactionStrategy
>     [junit]     at org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest.testParallelLeveledCompaction(LongLeveledCompactionStrategyTest.java:45)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongLeveledCompactionStrategyTest
FAILED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message