Daryn Sharp created HDFS-14534:
----------------------------------

             Summary: NetworkTopology's fair lock has poor performance
                 Key: HDFS-14534
                 URL: https://issues.apache.org/jira/browse/HDFS-14534
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namenode
            Reporter: Daryn Sharp


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to