Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1241

Possible deadlock between LeaseManager and FSDirectory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.20.2, 0.21.0
    • None
    • namenode
    • None

    Description

      LeaseManager.findPath() locks LeaseManager, then FSDirectory by caling getFileINode. FSDirectory.unprotectedDelete locks itself and then calls LeaseManager.removeLeaseWithPrefixPath. This cycle could deadlock.

      Attachments

        1. leasemanager.png
          26 kB
          Todd Lipcon

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: