From 3c4ae2d59808ff3e931228a558b7f8af2998a507 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 19 Feb 2010 20:10:02 +0000 Subject: [PATCH] HBASE-2241 Change balancer sloppyness from 0.1 to 0.3 git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@911961 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/hadoop/hbase/master/RegionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/hadoop/hbase/master/RegionManager.java b/src/java/org/apache/hadoop/hbase/master/RegionManager.java index 25f26835297..3170dd59505 100644 --- a/src/java/org/apache/hadoop/hbase/master/RegionManager.java +++ b/src/java/org/apache/hadoop/hbase/master/RegionManager.java @@ -1321,7 +1321,7 @@ public class RegionManager implements HConstants { private final int maxRegToClose; // hbase.regions.close.max LoadBalancer(Configuration conf) { - this.slop = conf.getFloat("hbase.regions.slop", (float)0.1); + this.slop = conf.getFloat("hbase.regions.slop", (float)0.3); if (this.slop <= 0) this.slop = 1; //maxRegToClose to constrain balance closing per one iteration // -1 to turn off