[ 
https://issues.apache.org/jira/browse/HDFS-17648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896200#comment-17896200
 ] 

ASF GitHub Bot commented on HDFS-17648:
---------------------------------------

huangzhaobo99 commented on PR #7133:
URL: https://github.com/apache/hadoop/pull/7133#issuecomment-2461618714

   @Hexiaoqiao @haiyang1987 Hello sir, Can you help me review the PR when you 
have time? Thanks~




> Fix BalancerMetrics duplicate registration, causing the process to exit.
> ------------------------------------------------------------------------
>
>                 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
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to