-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-24376 MergeNormalizer is merging non-adjacent regions and causi… #1734
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
625b6cf to
056fcbb
Compare
|
🎊 +1 overall
This message was automatically generated. |
056fcbb to
2a22c5e
Compare
saintstack
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.
Sweet
...server/src/main/java/org/apache/hadoop/hbase/master/normalizer/AbstractRegionNormalizer.java
Show resolved
Hide resolved
...e-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/MergeNormalizationPlan.java
Show resolved
Hide resolved
HorizonNet
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.
Left a NIT and a question.
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Outdated
Show resolved
Hide resolved
...test/java/org/apache/hadoop/hbase/master/normalizer/TestSimpleRegionNormalizerOnCluster.java
Outdated
Show resolved
Hide resolved
...server/src/main/java/org/apache/hadoop/hbase/master/normalizer/AbstractRegionNormalizer.java
Show resolved
Hide resolved
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
Outdated
Show resolved
Hide resolved
...test/java/org/apache/hadoop/hbase/master/normalizer/TestSimpleRegionNormalizerOnCluster.java
Show resolved
Hide resolved
...test/java/org/apache/hadoop/hbase/master/normalizer/TestSimpleRegionNormalizerOnCluster.java
Outdated
Show resolved
Hide resolved
...test/java/org/apache/hadoop/hbase/master/normalizer/TestSimpleRegionNormalizerOnCluster.java
Outdated
Show resolved
Hide resolved
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
6834afd to
5bc4aec
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
virajjasani
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.
looks good overall.
...e-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/MergeNormalizationPlan.java
Show resolved
Hide resolved
...test/java/org/apache/hadoop/hbase/master/normalizer/TestSimpleRegionNormalizerOnCluster.java
Show resolved
Hide resolved
virajjasani
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.
+1, would be better to ensure test is not flaky even with current sleep.
...e-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/MergeNormalizationPlan.java
Show resolved
Hide resolved
|
@virajjasani Yeah, the test is not flakey as it is mostly from testRegionNormalizationMergeOnCluster(), and that one never shows up in the flakey list. I will add more comments in tableRegions.sort(RegionInfo.COMPARATOR). Thanks for the review. |
…ng region overlaps/holes.
5bc4aec to
0d78ebf
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@ndimiduk @HorizonNet any comments/objection for me to merge the patch? Thanks. |
HorizonNet
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.
Fine with me.
|
Two very Important finds here, thank you @huaxiangsun ! |
|
Thanks for the reviews! |
…ng region overlaps/holes. (apache#1734) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com> Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Signed-off-by: stack <stack@apache.org>
…ng region overlaps/holes. (apache#1734) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com> Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Signed-off-by: stack <stack@apache.org>
…ng region overlaps/holes. (apache#1734) (apache#1758) Signed-off-by: Viraj Jasani <vjasani@apache.org> Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com> Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Signed-off-by: stack <stack@apache.org>
…ng region overlaps/holes.