Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7396 Revisit synchronization in Namenode
  3. HDFS-4702

remove namesystem lock from DatanodeManager#fetchDatanodes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha1
    • None
    • namenode
    • None

    Description

      DatanodeManager#fetchDatanodes currently holds the namesystem read lock while iterating through data nodes. This method is called from the namenode web UI. HDFS-3990 reported a performance problem in this code path. This is a follow-up jira to investigate whether or not we can remove the lock.

      Attachments

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: