Skip to content

Commit

Permalink
HDFS-17673 unregister BalancerMetrics after each itteration in doBalance
Browse files Browse the repository at this point in the history
  • Loading branch information
jpyeron committed Jan 5, 2025
1 parent 4d78253 commit 579185c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ void resetData(Configuration conf) {
this.underUtilized.clear();
this.policy.reset();
dispatcher.reset(conf);
if (metrics!=null) DefaultMetricsSystem.instance().unregisterSource(metrics.getName());
}

NameNodeConnector getNnc() {
Expand Down

0 comments on commit 579185c

Please sign in to comment.