[
https://issues.apache.org/jira/browse/HDFS-17247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028239#comment-18028239
]
ASF GitHub Bot commented on HDFS-17247:
---------------------------------------
github-actions[bot] commented on PR #6245:
URL: https://github.com/apache/hadoop/pull/6245#issuecomment-3379129202
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> Improve AvailableSpaceRackFaultTolerantBlockPlacementPolicy logic
> ------------------------------------------------------------------
>
> Key: HDFS-17247
> URL: https://issues.apache.org/jira/browse/HDFS-17247
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Haiyang Hu
> Assignee: Haiyang Hu
> Priority: Major
> Labels: pull-request-available
>
> * The AvailableSpaceBlockPlacementPolicy has made some optimizations such as
> HDFS-14578 can have local node optimization and HDFS-17210 can avoid choosing
> nodes with higher storage,
> 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.
> * Improve some doc descriptions and configuration parameters.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]