Review Board 1.7.22


Most of the regions were added into AssignmentManager#servers twice

Review Request #782 - Created May 24, 2011 and updated

Ted Yu
trunk
HBASE-4053
Reviewers
hbase
hbase
When master fails over, we should check whether hris contains the region addToServers() is trying to add.
But ArrayList is not the best data structure to perform search of specific HRegionInfo. Maybe we should consider replacing it with e.g. ConcurrentSkipListSet

Also removes bulkAssignUserRegions() which is no longer called.
Ran test suite.
Review request changed
Updated (July 6, 2011, 6:27 p.m.)
Modified HRegionInfo.compareTo() to include comparison of offLine.
Ship it!
Posted (July 6, 2011, 6:39 p.m.)