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:
parent
ecb8ecae3f
commit
3c4ae2d598
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue