hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-1241) Possible deadlock between LeaseManager and FSDirectory
Date Thu, 17 Jun 2010 19:27:23 GMT

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


Mime
View raw message