Class CPRequestCostFunction
java.lang.Object
org.apache.hadoop.hbase.master.balancer.CostFunction
org.apache.hadoop.hbase.master.balancer.CostFromRegionLoadFunction
org.apache.hadoop.hbase.master.balancer.CostFromRegionLoadAsRateFunction
org.apache.hadoop.hbase.master.balancer.CPRequestCostFunction
Compute the cost of total number of coprocessor requests The more unbalanced the higher the
computed cost will be. This uses a rolling average of regionload.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.master.balancer.CostFunction
cluster, COST_EPSILON
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.master.balancer.CostFromRegionLoadAsRateFunction
getRegionLoadCost
Methods inherited from class org.apache.hadoop.hbase.master.balancer.CostFromRegionLoadFunction
cost, prepare, regionMoved
Methods inherited from class org.apache.hadoop.hbase.master.balancer.CostFunction
getMultiplier, isNeeded, postAction, scale, setMultiplier, updateWeight
-
Field Details
-
CP_REQUEST_COST_KEY
- See Also:
-
DEFAULT_CP_REQUEST_COST
- See Also:
-
-
Constructor Details
-
CPRequestCostFunction
CPRequestCostFunction(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
getCostFromRl
- Specified by:
getCostFromRl
in classCostFromRegionLoadFunction
-