-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-17109. Null Pointer Exception when running TestBlockManager #6046
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. |
|
Hi @goiri is there anything else I can do to make this PR merged? |
|
@teamconfx Please rebase this commit. Thanks. |
ayushtkn
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.
LGTM
@teamconfx you need to rebase the PR to get a green build, before we can merge this
|
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
https://issues.apache.org/jira/browse/HDFS-17109
This PR adds a check for nullity of
storageTypeStats. Only updates the InServiceXceiverAverage if thestorageTypeStatsis notnull.How was this patch tested?
(1) Set
dfs.namenode.redundancy.considerLoadByStorageType=true(2) Run
org.apache.hadoop.hdfs.server.blockmanagement.TestBlockManager#testOneOfTwoRacksDecommissionedThe test passes after the patch.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?