JiangHua Zhu created HDFS-16494:
-----------------------------------

             Summary: Removed reuse of 
AvailableSpaceVolumeChoosingPolicy#initLocks()
                 Key: HDFS-16494
                 URL: https://issues.apache.org/jira/browse/HDFS-16494
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 2.9.2, 3.4.0
            Reporter: JiangHua Zhu


When building the AvailableSpaceVolumeChoosingPolicy, if the default 
constructor is used, initLocks() will be used twice, which is actually 
unnecessary.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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