[ 
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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to