Class ReadRequestCostFunction
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.ReadRequestCostFunction
Compute the cost of total number of read 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
-
READ_REQUEST_COST_KEY
- See Also:
-
DEFAULT_READ_REQUEST_COST
- See Also:
-
-
Constructor Details
-
ReadRequestCostFunction
ReadRequestCostFunction(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
getCostFromRl
- Specified by:
getCostFromRl
in classCostFromRegionLoadFunction
-