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

Daryn Sharp commented on HDFS-5124:
-----------------------------------

Our nightly QA also found a related issue.  When the NN is transitioning from 
standby, it grabs the namespace write lock and adds tokens to the DTSM using 
another synch'ed method.  So token verification gets synch'ed in the DTSM, then 
deadlocks trying to get the namespace read lock.

I'll post the patch I was planning to put up for this specific method.
                
> Namenode in secure cluster deadlocks
> ------------------------------------
>
>                 Key: HDFS-5124
>                 URL: https://issues.apache.org/jira/browse/HDFS-5124
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.1.1-beta
>         Environment: Secure Hadoop 2 cluster
>            Reporter: Deepesh Khandelwal
>            Assignee: Jing Zhao
>            Priority: Blocker
>         Attachments: HDFS-5124.001.patch, HDFS-5124.002.patch, nn_jstack.out
>
>
> Namenode deadlocks after a while in use.

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