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

Kihwal Lee commented on HDFS-4786:
----------------------------------

The synchronize around queue.take() was added by HADOOP-9049. 
                
> WebHdfsFileSystem hangs on close()
> ----------------------------------
>
>                 Key: HDFS-4786
>                 URL: https://issues.apache.org/jira/browse/HDFS-4786
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.0.4-alpha
>            Reporter: Kihwal Lee
>
> 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

Reply via email to