HBASE-9312 Lower StochasticLoadBalancer's default max run time

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1517647 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
eclark 2013-08-26 19:21:22 +00:00
parent 5700f61b95
commit a55448d23a
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class StochasticLoadBalancer extends BaseLoadBalancer {
// values are defaults
private int maxSteps = 1000000;
private int stepsPerRegion = 800;
private long maxRunningTime = 60 * 1000 * 1; // 1 min
private long maxRunningTime = 30 * 1000 * 1; // 30 seconds.
private int numRegionLoadsToRemember = 15;
private RegionPicker[] pickers;