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

NetworkTopology's fair lock has poor performance

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              Unassigned
              Reporter:
              daryn Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: