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
This commit is contained in:
Michael Stack 2010-02-19 20:10:02 +00:00
parent ecb8ecae3f
commit 3c4ae2d598
1 changed files with 1 additions and 1 deletions

View File

@ -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