hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9703) org.apache.hadoop.ipc.Client leaks threads on stop.
Date Wed, 10 Jul 2013 04:15:48 GMT

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

Tsuyoshi OZAWA commented on HADOOP-9703:
----------------------------------------

I think the warning generated by findbugs is unavoidable in this case, because of the management
of reference-counted static object.
Should we switch to the design by using ClientCache to avoid this warning? What do you think?
                
> 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
>         Attachments: HADOOP-9703.1.patch
>
>
> 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

Mime
View raw message