[
https://issues.apache.org/jira/browse/HDFS-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated HDFS-1241:
------------------------------
Attachment: leasemanager.png
> Possible deadlock between LeaseManager and FSDirectory
> ------------------------------------------------------
>
> Key: HDFS-1241
> URL: https://issues.apache.org/jira/browse/HDFS-1241
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.20.2, 0.21.0
> Reporter: Todd Lipcon
> Attachments: leasemanager.png
>
>
> LeaseManager.findPath() locks LeaseManager, then FSDirectory by caling
> getFileINode. FSDirectory.unprotectedDelete locks itself and then calls
> LeaseManager.removeLeaseWithPrefixPath. This cycle could deadlock.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.