Review Board 1.7.22


Jimmy Xiang got review request #2992!

HBASE-4927 CatalogJanior:SplitParentFirstComparator doesn't sort as expected, for the last region when the endkey is empty

Review Request #2992 - Created Dec. 2, 2011 and submitted

Jimmy Xiang
HBASE-4927
Reviewers
hbase
stack
hbase-git
Some HRegionInfo related comparator doesn't consider empty end key.  That's why there are some hacks in HRegionInfo's containsRange and containsRow method to check empty key.
However, due to this issue, SplitParentFirstComparator has a bug.
TestHRegionInfo and TestCatalogJanitor are geen.
Review request changed
Updated (Dec. 5, 2011, 8:10 p.m.)
Updated it per Ted's comment.
Ship it!
Posted (Dec. 5, 2011, 8:28 p.m.)
lgtm except for the hard tabs
hard tabs
  1. hard tabs are replaced with spaces in the v2 patch.