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

NetworkTopology's fair lock has poor performance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • namenode
    • None

    Description

      The NetworkTopology#netlock is a heavily accessed lock.  HADOOP-15486 made the lock fair to avoid starvation of a re-registering datanode that holds the fsn write lock while waiting for the topology write lock.  If nodes start flapping and re-registering, the contention with all other handlers becomes extreme.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daryn Daryn Sharp
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: