-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-16948 Update log of BlockManager#chooseExcessRedundancyStriped when EC internal block is moved by balancer. #5474
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
@tomscut Could you please take a look? |
💔 -1 overall
This message was automatically generated. |
Even if |
@zhangshuyan0 Thank you, that makes sense.
|
💔 -1 overall
This message was automatically generated. |
@Hexiaoqiao Would you mind reviewing this? |
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.
+1, LGTM.
...ct/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
Show resolved
Hide resolved
@kidd53685368 Please check if the inline comment should fix. (just receive your review request but one review feedback not resolve yet). Thanks. |
@Hexiaoqiao Thanks for the review.Already confirm it and I dont' think the inline comment should be fixed. |
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.
Committed to trunk. Thanks @kidd53685368 for your contribution, and thanks @zhangshuyan0 for your reviews. |
…when EC internal block is moved by balancer. (apache#5474). Contributed by Kidd53685368. Reviewed-by: zhangshuyan <zqingchai@gmail.com> Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
…when EC internal block is moved by balancer. (apache#5474). Contributed by Kidd53685368. Reviewed-by: zhangshuyan <zqingchai@gmail.com> Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
Description of PR
This is a follow-up of HDFS-16179.When the EC internal block is moved by the balancer, it will trigger chooseExcessRedundancyStriped( ), and the parameter delNodeHint is not null.So the nonExcess list will be modified in processChosenExcessRedundancy( ), normally the size of nonExcess will be reduced to the expected EC group size, that's why the annoying log "excess types chose ... is empty." will be printed.