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

Karthik Kambatla commented on HADOOP-8852:
------------------------------------------

Thanks Tom and Daryn for your comments.

Daryn, your suggestions make absolute sense. Will work on the patch. While 
working on this earlier, I thought of making it a Singleton, but thought there 
was a reason why it was not Singleton :)

I will add {{cancelToken()}} and {{shutdown()}} to {{DelegationTokenRenewer}}, 
and use them in the FileSystems.
                
> DelegationTokenRenewer thread is not stopped when its filesystem is closed
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-8852
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8852
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha
>            Reporter: Tom White
>            Assignee: Karthik Kambatla
>         Attachments: hadoop-8852.patch, hadoop-8852.patch
>
>
> HftpFileSystem and WebHdfsFileSystem should stop the DelegationTokenRenewer 
> thread when they are closed. 

--
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

Reply via email to