Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-1730

LocalCluster#shutdown() does not terminate all storm threads/thread pools.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 2.0.0, 1.1.0, 1.0.3
    • storm-core
    • None
    • Windows 7 x64
      Oracle Java 1.8.0 u92 x64

    Description

      When using the LocalCluster in test setup. LocalCluster#shutdown() does not shutdown all executor services it starts. In my test case, there is a single thread pool executor service that is not shutdown and not daemon. This keeps the jvm alive when it is expected to terminate.

      Please see attached test case. In my example, thread pool 47 is not shutdown. Naming here is conditional on threading.

      Attachments

        1. storm-shutdown-issue.zip
          64 kB
          Fergus Byrne
        2. Thread Pool '47' remaining..png
          399 kB
          Fergus Byrne

        Issue Links

          Activity

            People

              fergusb Fergus Byrne
              fergusb Fergus Byrne
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: