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 "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/05/07 18:57:17 UTC

[jira] [Commented] (HADOOP-9549) WebHdfsFileSystem hangs on close()

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

Daryn Sharp commented on HADOOP-9549:
-------------------------------------

Bug is actually in the less-than-ideal token renewer in common that is bolted onto hftp and webhdfs.
                
> WebHdfsFileSystem hangs on close()
> ----------------------------------
>
>                 Key: HADOOP-9549
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9549
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.4-alpha
>            Reporter: Kihwal Lee
>            Assignee: Daryn Sharp
>            Priority: Blocker
>
> When close() is called via fs shoutdown hook, the synchronized method, removeRenewAction() hangs. This is because DelegationTokenRenewer calls DelayQueue.take() inside a synchronized block. Since this is a blocking call, it hangs forever.

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