You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ns...@apache.org on 2011/10/11 04:21:55 UTC

svn commit: r1181576 - /hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java

Author: nspiegelberg
Date: Tue Oct 11 02:21:54 2011
New Revision: 1181576

URL: http://svn.apache.org/viewvc?rev=1181576&view=rev
Log:
Fix the unit test failure for new region assignment

Summary:
Fix the unit test failure for the following unit tests
TestMultiParallelPut
TestRegionRebalancing
TestAdmin

Test Plan:
tested

Reviewed By: nspiegelberg
Reviewers: kannan, nspiegelberg
Commenters: mbautin
CC: hbase@lists, , liyintang, mbautin, nspiegelberg
Differential Revision: 271660

Modified:
    hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java

Modified: hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java?rev=1181576&r1=1181575&r2=1181576&view=diff
==============================================================================
--- hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java (original)
+++ hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java Tue Oct 11 02:21:54 2011
@@ -68,6 +68,7 @@ public class MiniHBaseCluster {
   throws IOException {
     this.conf = conf;
     conf.set(HConstants.MASTER_PORT, "0");
+    conf.setLong("hbase.master.applyPreferredAssignment.period", 0);
     init(numRegionServers);
   }