[
https://issues.apache.org/jira/browse/HDFS-17037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729066#comment-17729066
]
ASF GitHub Bot commented on HDFS-17037:
---------------------------------------
zhangshuyan0 opened a new pull request, #5715:
URL: https://github.com/apache/hadoop/pull/5715
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
When we run balancer with `BalancingPolicy.Node` policy, our goal is to make
each datanode storage balanced. But in the current implementation, the balancer
doesn't account for storage used by non-dfs on the datanodes, which can make
the situation worse for datanodes that are already strained on storage.
### How was this patch tested?
Add a new UT.
> Consider nonDfsUsed when running balancer
> -----------------------------------------
>
> Key: HDFS-17037
> URL: https://issues.apache.org/jira/browse/HDFS-17037
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Shuyan Zhang
> Assignee: Shuyan Zhang
> Priority: Major
>
> When we run balancer with `BalancingPolicy.Node` policy, our goal is to make
> each datanode storage balanced. But in the current implementation, the
> balancer doesn't account for storage used by non-dfs on the datanodes, which
> can make the situation worse for datanodes that are already strained on
> storage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]