[ 
https://issues.apache.org/jira/browse/HDFS-16494?focusedWorklogId=736574&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-736574
 ]

ASF GitHub Bot logged work on HDFS-16494:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Mar/22 10:40
            Start Date: 04/Mar/22 10:40
    Worklog Time Spent: 10m 
      Work Description: jianghuazhu opened a new pull request #4048:
URL: https://github.com/apache/hadoop/pull/4048


   
   ### Description of PR
   When using the default constructor to build the 
AvailableSpaceVolumeChoosingPolicy, initLocks() is used twice, which is 
actually unnecessary, the purpose of this pr is to avoid this from happening.
   Details: HDFS-16494
   
   ### How was this patch tested?
   Not too stressful for testing. Because this class is relatively mature.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 736574)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Assignee: JiangHua Zhu
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to