-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-17328. DiskBalancer should not computeNodeDensity every time when addVolume. #6422
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 you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
63b8cc2 to
0c6e45a
Compare
0c6e45a to
d4acfac
Compare
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
@Hexiaoqiao @tomscut @haiyang1987 Sir, could you please help me review this PR when you have free time? Thanks. |
|
💔 -1 overall
This message was automatically generated. |
|
TestDecommission and TestDecommissionWithBackoffMonitor are all timeout.
|
...src/main/java/org/apache/hadoop/hdfs/server/diskbalancer/datamodel/DiskBalancerDataNode.java
Outdated
Show resolved
Hide resolved
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |

Description of PR
When we call DiskBalancerDataNode#addVolume method, it will computeNodeDensity every time. That is unnecessary. We only need to compute NodeDensity when all volumes were added. This can improve the speed of report command.