You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/07/09 03:38:47 UTC
[jira] [Commented] (HADOOP-9703) org.apache.hadoop.ipc.Client leaks
threads on stop.
[ https://issues.apache.org/jira/browse/HADOOP-9703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702766#comment-13702766 ]
Colin Patrick McCabe commented on HADOOP-9703:
----------------------------------------------
I don't think we want one of these per client. You might consider moving the SEND_PARAMS_EXECUTOR into the ClientCache, and having that cache pass it into the constructor of {{org.apache.hadoop.ipc.Client}}.
Alternately, you could have some kind of reference-counted static object inside the Client class. That would involve fewer code changes.
> org.apache.hadoop.ipc.Client leaks threads on stop.
> ---------------------------------------------------
>
> Key: HADOOP-9703
> URL: https://issues.apache.org/jira/browse/HADOOP-9703
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Tsuyoshi OZAWA
> Priority: Minor
>
> org.apache.hadoop.ipc.Client#stop says "Stop all threads related to this client." but does not shutdown the static SEND_PARAMS_EXECUTOR, so usage of this class always leaks threads rather than cleanly closing or shutting down.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira