HDFS-16838. Fix NPE in testAddRplicaProcessorForAddingReplicaInMap#5125
Merged
tomscut merged 2 commits intoapache:trunkfrom Nov 24, 2022
Merged
HDFS-16838. Fix NPE in testAddRplicaProcessorForAddingReplicaInMap#5125tomscut merged 2 commits intoapache:trunkfrom
tomscut merged 2 commits intoapache:trunkfrom
Conversation
|
🎊 +1 overall
This message was automatically generated. |
hotcodemacha
approved these changes
Nov 11, 2022
Contributor
hotcodemacha
left a comment
There was a problem hiding this comment.
+1. Changes makes sense.
Contributor
|
Instead of the change proposed in this PR, shouldn't we actually fix reInitializeAddReplicaThreadPool() itself as below? Current: Fixed as following: |
Member
Contributor
Author
xinglin
approved these changes
Nov 22, 2022
Contributor
xinglin
left a comment
There was a problem hiding this comment.
Thanks for making the change/fix. lgtm.
|
💔 -1 overall
This message was automatically generated. |
tomscut
approved these changes
Nov 23, 2022
Contributor
|
Hi @ZanderXu , could you please fix the SpotBugs warn. |
|
💔 -1 overall
This message was automatically generated. |
tomscut
approved these changes
Nov 24, 2022
Contributor
|
The failed unit tests are unrelated to the change. |
Contributor
HarshitGupta11
pushed a commit
to HarshitGupta11/hadoop
that referenced
this pull request
Nov 28, 2022
…pache#5125) Reviewed-by: Xing Lin <xinglin@linkedin.com> Reviewed-by: Ashutosh Gupta <ashugpt@amazon.com> Signed-off-by: Tao Li <tomscut@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
There is a NPE in
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList#testAddRplicaProcessorForAddingReplicaInMapif we run this UT individually. And the related bug as bellow: