[ 
https://issues.apache.org/jira/browse/HDFS-17247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDFS-17247:
----------------------------------
    Labels: pull-request-available  (was: )

> Improve AvailableSpaceRackFaultTolerantBlockPlacementPolicy logic 
> ------------------------------------------------------------------
>
>                 Key: HDFS-17247
>                 URL: https://issues.apache.org/jira/browse/HDFS-17247
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namanode
>            Reporter: Haiyang Hu
>            Assignee: Haiyang Hu
>            Priority: Major
>              Labels: pull-request-available
>
> The AvailableSpaceBlockPlacementPolicy has made some optimizations such as 
> HDFS-14578,HDFS-17210, 
> the AvailableSpaceRackFaultTolerantBlockPlacementPolicy need keep same logics 
> of optimization same as ASBPP.
> Currently considering implementing a public class, such as 
> AvailableSpaceBlockPlacementPolicyUtils, and abstract some public methods 
> such as 
> {code:java}
> chooseLocalStorage, swapStorageTypes, select, compareDataNode
> {code}
> the AvailableSpaceBlockPlacementPolicy and 
> AvailableSpaceRackFaultTolerantBlockPlacementPolicy can call related methods 
> in AvailableSpaceBlockPlacementPolicyUtils. 
> If there are related optimizations later, they can be modified based on 
> AvailableSpaceBlockPlacementPolicyUtils.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to