@InterfaceAudience.Private class StoreFileCostFunction extends CostFromRegionLoadFunction
Modifier and Type | Field and Description |
---|---|
private static float |
DEFAULT_STOREFILE_SIZE_COST |
private static String |
STOREFILE_SIZE_COST_KEY |
cluster, COST_EPSILON
Constructor and Description |
---|
StoreFileCostFunction(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
protected double |
getCostFromRl(BalancerRegionLoad rl) |
cost, getRegionLoadCost, prepare, regionMoved
getMultiplier, isNeeded, postAction, scale, setMultiplier, updateWeight
private static final String STOREFILE_SIZE_COST_KEY
private static final float DEFAULT_STOREFILE_SIZE_COST
StoreFileCostFunction(org.apache.hadoop.conf.Configuration conf)
protected double getCostFromRl(BalancerRegionLoad rl)
getCostFromRl
in class CostFromRegionLoadFunction
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.