[
https://issues.apache.org/jira/browse/CASSANDRA-7889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14132852#comment-14132852
]
Brandon Williams commented on CASSANDRA-7889:
---------------------------------------------
I saw this just yesterday on trunk; not sure if it affects 2.1 also but it
stands to reason that it does. Either way, the extra check won't hurt.
> Fix "java.lang.IllegalStateException: No configured daemon" in tests
> --------------------------------------------------------------------
>
> Key: CASSANDRA-7889
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7889
> Project: Cassandra
> Issue Type: Bug
> Reporter: Sylvain Lebresne
> Assignee: Steven Nelson
> Priority: Trivial
> Labels: lhf
>
> Tests that use {{StorageService.instance.initServer()}} ends up logging the
> following error after their execution:
> {noformat}
> [junit] Exception in thread "StorageServiceShutdownHook"
> java.lang.IllegalStateException: No configured daemon
> [junit] at
> org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.java:309)
> [junit] at
> org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:381)
> ...
> {noformat}
> It's harmless to the tests since it's in the ShutdownDownHook but we should
> "fix" it at some point.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)