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 "Arun Suresh (JIRA)" <ji...@apache.org> on 2014/10/03 16:17:33 UTC

[jira] [Updated] (HADOOP-11161) Expose close method in KeyProvider to give clients of Provider implementations a hook to release resources

     [ https://issues.apache.org/jira/browse/HADOOP-11161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Suresh updated HADOOP-11161:
---------------------------------
    Attachment: HADOOP-11161.1.patch

Uploading initial patch..

> Expose close method in KeyProvider to give clients of Provider implementations a hook to release resources
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11161
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11161
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Arun Suresh
>         Attachments: HADOOP-11161.1.patch
>
>
> The {{KMSClientProvider}} class needs to be have a {{close()}} method to shutdown back ground executor threads.
> The {{DFSClient}} creates an instance of a {{KeyProvider}} during initialization. If this KP is a {{KMSClientProvider}}, this needs to be closed to prevent thread leakage



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