Wu Weiwei created HDFS-14523:
--------------------------------

             Summary: Remove excess read lock for NetworkToplogy
                 Key: HDFS-14523
                 URL: https://issues.apache.org/jira/browse/HDFS-14523
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Wu Weiwei


getNumOfRacks() and getNumOfLeaves() are two high frequencies call methods for 
BlockPlacementPolicy, this two methods need to get NetworkTopology read lock, 
this may impact the namenode performance. 



--
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