HBASE-3018 Bulk assignment on startup runs serially through the cluster servers assigning in bulk to one at a time
M src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Removed reentrant lock that spanned moving region into
regionsintransition and the getting of lock on state object. It
was a bad idea. I found it actually deadlocked. It shouldn't be needed.
The call to assign will fail if the state instance is not of the right
'state' type.
Run a thread per server parcelling out region assignments so we assign
across the cluster concurrently rather than in series as we were doing.
|