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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 2.0.0, 1.1.0, 1.0.3
    • Component/s: storm-core
    • Labels:
      None
    • Environment:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: