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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.11, 2.1.1
    • None
    • 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

            fhsnelson Steven Nelson
            slebresne Sylvain Lebresne
            Steven Nelson
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: