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


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.

Reply via email to