You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2016/07/19 13:31:20 UTC

[jira] [Commented] (STORM-1730) LocalCluster#shutdown() does not terminate all storm threads/thread pools.

    [ https://issues.apache.org/jira/browse/STORM-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15384146#comment-15384146 ] 

Jungtaek Lim commented on STORM-1730:
-------------------------------------

This is merged to master and 1.x-branch, but not 1.0.x-branch.

We should port back to 1.0.x-branch but I'm not sure what lowest version this will be included since we're in progress of release vote 1.0.2 RC3. So 1.0.2 or 1.0.3.

> LocalCluster#shutdown() does not terminate all storm threads/thread pools.
> --------------------------------------------------------------------------
>
>                 Key: STORM-1730
>                 URL: https://issues.apache.org/jira/browse/STORM-1730
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 1.0.0
>         Environment: Windows 7 x64
> Oracle Java 1.8.0 u92 x64
>            Reporter: Fergus Byrne
>            Assignee: Fergus Byrne
>            Priority: Minor
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: Thread Pool '47' remaining..png, storm-shutdown-issue.zip
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)