-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-17339:Skip cacheReport when one blockPool does not have CacheBlock on this DataNode #6456
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
zhangshuyan0
left a comment
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.
Great catch here! LGTM.
|
💔 -1 overall
This message was automatically generated. |
|
@ThinkerLei Please check if the failed tests are related to the changes. |
@zhangshuyan0 Thanks for your comment. The failed tests are not related to my changes. I successfully ran the failed tests on my computer. Any changes about CI recently? |
|
I don't know what changes have happened to CI recently. This patch looks great to me and can alleviate the pressure on NN. Let's wait and see if others have any opinions. |
cf86aeb to
243af8b
Compare
|
💔 -1 overall
This message was automatically generated. |
243af8b to
df3e56a
Compare
|
💔 -1 overall
This message was automatically generated. |
df3e56a to
d24a148
Compare
|
💔 -1 overall
This message was automatically generated. |
d24a148 to
aaefaae
Compare
|
💔 -1 overall
This message was automatically generated. |
aaefaae to
878d65b
Compare
|
💔 -1 overall
This message was automatically generated. |
…ck on this DataNode
878d65b to
e6c5711
Compare
|
💔 -1 overall
This message was automatically generated. |
…ck on this DataNode (apache#6456). Contributed by lei w. Signed-off-by: Shuyan Zhang <zhangshuyan@apache.org>
…ck on this DataNode (apache#6456). Contributed by lei w. Signed-off-by: Shuyan Zhang <zhangshuyan@apache.org>
Now, DataNode will cacheReport to all NameNode when CacheCapacitySize is not zero. But sometimes, not all NameNodes have CacheBlock on this DataNode. So BPServiceActor should skip cacheReport when one blockPool does not have CacheBlock on this DataNode. If so, the NameNode will reduce unnecessary lock contention