You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xiaoqiao He (Jira)" <ji...@apache.org> on 2024/12/08 10:19:00 UTC
[jira] [Resolved] (HDFS-17648) Fix BalancerMetrics duplicate registration issue.
[ https://issues.apache.org/jira/browse/HDFS-17648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoqiao He resolved HDFS-17648.
--------------------------------
Fix Version/s: 3.5.0
Hadoop Flags: Reviewed
Resolution: Fixed
> Fix BalancerMetrics duplicate registration issue.
> -------------------------------------------------
>
> Key: HDFS-17648
> URL: https://issues.apache.org/jira/browse/HDFS-17648
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Zhaobo Huang
> Assignee: Zhaobo Huang
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.5.0
>
>
> When executing 'b.runOneIteration()' in a loop, repeat the registration of metrics in the balancer constructor as follows:
> {code:java}
> Balancer(NameNodeConnector theblockpool, BalancerParameters p,
> Configuration conf) {
> ...
> this.metrics = BalancerMetrics.create(this);
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org