-
Notifications
You must be signed in to change notification settings - Fork 9k
HDFS-17648. Fix BalancerMetrics duplicate registration issue. #7133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send 8000 you account related emails.
Already on GitHub? Sign in to your account
Conversation
💔 -1 overall
This message was automatically generated. |
a733ef8
to
173f9e3
Compare
173f9e3
to
b78eed0
Compare
@Hexiaoqiao @haiyang1987 Hello sir, Can you help me review the PR when you have time? Thanks~ |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@Hexiaoqiao @haiyang1987 Hello sir, Can you help me review the PR when you have time? Thanks~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. +1.
Commit to trunk. Thanks @huangzhaobo99 for your works. |
Description of PR
https://issues.apache.org/jira/browse/HDFS-17648
When executing 'b.runOneIteration()' in a loop, repeat the registration of metrics in the balancer constructor as follows:
Balancer process exception:
How was this patch tested?
Add UT