[
https://issues.apache.org/jira/browse/CASSANDRA-19181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799427#comment-17799427
]
Jacek Lewandowski commented on CASSANDRA-19181:
-----------------------------------------------
Here are other potential issues with cluster shutdown:
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1243/workflows/6f790596-afe9-4872-bfb9-5935a54f223f/jobs/62823/tests
{noformat}
org.apache.cassandra.distributed.shared.ShutdownException: Uncaught exceptions
were thrown during test
at
org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1117)
at
org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1103)
at
org.apache.cassandra.distributed.test.FailingRepairTest.teardownCluster(FailingRepairTest.java:161)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Suppressed: java.util.concurrent.RejectedExecutionException:
ScheduledThreadPoolExecutor has shut down.
at
org.apache.cassandra.concurrent.ScheduledThreadPoolExecutorPlus.lambda$static$0(ScheduledThreadPoolExecutorPlus.java:58)
at
java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:825)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:340)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562)
at
org.apache.cassandra.concurrent.ScheduledThreadPoolExecutorPlus.schedule(ScheduledThreadPoolExecutorPlus.java:81)
at
org.apache.cassandra.concurrent.ScheduledThreadPoolExecutorPlus.scheduleSelfRecurring(ScheduledThreadPoolExecutorPlus.java:106)
at
org.apache.cassandra.auth.CassandraRoleManager.scheduleSetupTask(CassandraRoleManager.java:463)
at
org.apache.cassandra.auth.CassandraRoleManager.lambda$scheduleSetupTask$6(CassandraRoleManager.java:477)
at
org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:133)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
{noformat}
https://app.circleci.com/pipelines/github/jacek-lewandowski/cassandra/1243/workflows/6f790596-afe9-4872-bfb9-5935a54f223f/jobs/62806
{noformat}
org.apache.cassandra.distributed.shared.ShutdownException: Uncaught exceptions
were thrown during test
at
org.apache.cassandra.distributed.impl.AbstractCluster.checkAndResetUncaughtExceptions(AbstractCluster.java:1117)
at
org.apache.cassandra.distributed.impl.AbstractCluster.close(AbstractCluster.java:1103)
at
org.apache.cassandra.distributed.test.CASTest.afterClass(CASTest.java:98)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Suppressed: java.lang.RuntimeException:
java.lang.IllegalStateException: HintsService is shut down and can't accept new
hints
at
org.apache.cassandra.service.StorageProxy$HintRunnable.run(StorageProxy.java:2695)
at
org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
at
org.apache.cassandra.concurrent.FutureTask.call(FutureTask.java:61)
at
org.apache.cassandra.concurrent.FutureTask.run(FutureTask.java:71)
at
org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:143)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalStateException: HintsService is shut down
and can't accept new hints
at
org.apache.cassandra.hints.HintsService.write(HintsService.java:165)
at
org.apache.cassandra.service.StorageProxy$7.runMayThrow(StorageProxy.java:2774)
at
org.apache.cassandra.service.StorageProxy$HintRunnable.run(StorageProxy.java:2691)
{noformat}
> Failed instances may stay partially running even after closing the cluster in
> dtest-api
> ---------------------------------------------------------------------------------------
>
> Key: CASSANDRA-19181
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19181
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/java
> Reporter: Jacek Lewandowski
> Assignee: Jacek Lewandowski
> Priority: Normal
>
> If a node fails to start, closing the cluster may leave some threads and
> sockets opened. It breaks other tests in the class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]