/[Apache-SVN]
ViewVC logotype

Revision 999237


Jump to revision: Previous Next
Author: stack
Date: Tue Sep 21 06:36:22 2010 UTC (14 years, 1 month ago)
Changed paths: 3
Log Message:
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.


Changed paths

Path Details
Directoryhbase/trunk/CHANGES.txt modified , text changed
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java modified , text changed
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26