-
Notifications
You must be signed in to change notification settings - Fork 9k
HDFS-16732. [SBN READ] Avoid get location from observer when the block report is delayed #4756
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
…k report is delayed.
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
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.
Agreed that the same logic from HDFS-12943 should be extended to getFileInfo
/getListing
. Thanks for putting up this PR!
For the test, can we just add new tests similar to TestObserverNode.testObserverNodeBlockMissingRetry
? I am wondering if the new TestObserverNodeWhenReportDelay
is overkill for this.
...s-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
...src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestObserverNodeWhenReportDelay.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
New test is very clean :) Many thanks for the contribution @zhengchenyu ! I've merged this to trunk and branch-3.3. |
…k report is delayed (apache#4756) Signed-off-by: Erik Krogen <xkrogen@apache.org>
…k report is delayed (apache#4756) Signed-off-by: Erik Krogen <xkrogen@apache.org> (cherry picked from commit 231a446)
…k report is delayed (apache#4756) Signed-off-by: Erik Krogen <xkrogen@apache.org> (cherry picked from commit 231a446)
https://issues.apache.org/jira/browse/HDFS-16732