hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1181576 - /hbase/branches/0.89/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java
Date Tue, 11 Oct 2011 02:21:55 GMT
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);
   }
 



Mime
View raw message