Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7889

Fix "java.lang.IllegalStateException: No configured daemon" in tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.11, 2.1.1
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      Tests that use StorageService.instance.initServer() ends up logging the following error after their execution:

          [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)
      ...
      

      It's harmless to the tests since it's in the ShutdownDownHook but we should "fix" it at some point.

        Attachments

        1. 7889.txt
          0.7 kB
          Steven Nelson

          Activity

            People

            • Assignee:
              fhsnelson Steven Nelson
              Reporter:
              slebresne Sylvain Lebresne
              Authors:
              Steven Nelson
              Reviewers:
              Brandon Williams
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: