Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
4.0.9, 4.1.2, 5.0-alpha1, 5.0
-
None
-
Correctness - Test Failure
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
This run shows Python DTest materialized_views_test.TestMaterializedViews.test_resume_stopped_build is flaky on current 4.0 (other branches to be verified)
test teardown failure Unexpected error found in node logs (see stdout for full details). Errors: [[node2] 'ERROR [OptionalTasks:1] 2022-10-20 15:47:34,947 CassandraDaemon.java:581 - Exception in thread Thread[OptionalTasks:1,5,main]\njava.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.cassandra.db.view.ViewBuilderTask$StoppedException: Compaction interrupted: View build(82580ca3-508e-11ed-b50c-8bdefae2f6eb, 119 / 1000 token range parts)@789d3460-508e-11ed-b50c-8bdefae2f6eb(ks, t)\n\tat org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:488)\n\tat org.apache.cassandra.db.view.ViewBuilder.stop(ViewBuilder.java:236)\n\tat org.apache.cassandra.db.view.View.stopBuild(View.java:224)\n\tat org.apache.cassandra.db.view.View.build(View.java:211)\n\tat org.apache.cassandra.db.view.ViewManager.buildAllViews(ViewManager.java:180)\n\tat org.apache.cassandra.service.CassandraDaemon.lambda$setup$2(CassandraDaemon.java:433)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:829)\nCaused by: java.util.concurrent.ExecutionException: org.apache.cassandra.db.view.ViewBuilderTask$StoppedException: Compaction interrupted: View build(82580ca3-508e-11ed-b50c-8bdefae2f6eb, 119 / 1000 token range parts)@789d3460-508e-11ed-b50c-8bdefae2f6eb(ks, t)\n\tat com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:552)\n\tat com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:533)\n\tat com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:90)\n\tat org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:484)\n\t... 12 common frames omitted\nCaused by: org.apache.cassandra.db.view.ViewBuilderTask$StoppedException: Compaction interrupted: View build(82580ca3-508e-11ed-b50c-8bdefae2f6eb, 119 / 1000 token range parts)@789d3460-508e-11ed-b50c-8bdefae2f6eb(ks, t)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.finish(ViewBuilderTask.java:194)\n\tat org.apache.cassandra.db.view.ViewBuilderTask.call(ViewBuilderTask.java:171)\n\tat org.apache.cassandra.db.compaction.CompactionManager.lambda$submitViewBuilder$6(CompactionManager.java:1802)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat org.apache.cassandra.concurrent.DebuggableThreadPoolExecutor$FutureLocalSessionWrapper.lambda$new$0(DebuggableThreadPoolExecutor.java:408)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\t... 4 common frames omitted']
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-17873 Opcodes.ASM7 should be used in UDFByteCodeVerifier to support JDK11
- Resolved