static class StochasticLoadBalancer.TableSkewCostFunction extends StochasticLoadBalancer.CostFunction
Modifier and Type | Field and Description |
---|---|
private static float |
DEFAULT_TABLE_SKEW_COST |
private static String |
TABLE_SKEW_COST_KEY |
cluster
Constructor and Description |
---|
TableSkewCostFunction(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
protected double |
cost() |
costFromArray, getMultiplier, init, isNeeded, postAction, regionMoved, scale, setMultiplier
private static final String TABLE_SKEW_COST_KEY
private static final float DEFAULT_TABLE_SKEW_COST
TableSkewCostFunction(org.apache.hadoop.conf.Configuration conf)
protected double cost()
cost
in class StochasticLoadBalancer.CostFunction
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.