You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Fergus Byrne (JIRA)" <ji...@apache.org> on 2016/04/27 14:22:12 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=15260036#comment-15260036 ]
Fergus Byrne commented on STORM-1730:
-------------------------------------
Hi,
I have tracked down the offending thread pool to the field *'_exec'* of *'org.apache.storm.utils.DisruptorQueue.FlusherPool'*.
The thread pool executor is not named, it is also not daemon, it is also never shutdown.
Kind regards,
Fergus
> 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
> Priority: Minor
> 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)