[ https://issues.apache.org/jira/browse/HDFS-17648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903864#comment-17903864 ]
ASF GitHub Bot commented on HDFS-17648: --------------------------------------- Hexiaoqiao merged PR #7133: URL: https://github.com/apache/hadoop/pull/7133 > 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 > > 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