Class StoreFileCostFunction
java.lang.Object
org.apache.hadoop.hbase.master.balancer.CostFunction
org.apache.hadoop.hbase.master.balancer.CostFromRegionLoadFunction
org.apache.hadoop.hbase.master.balancer.StoreFileCostFunction
Compute the cost of total open storefiles size. 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.CostFromRegionLoadFunction
cost, getRegionLoadCost, prepare, regionMoved
Methods inherited from class org.apache.hadoop.hbase.master.balancer.CostFunction
getMultiplier, isNeeded, postAction, scale, setMultiplier, updateWeight
-
Field Details
-
STOREFILE_SIZE_COST_KEY
- See Also:
-
DEFAULT_STOREFILE_SIZE_COST
- See Also:
-
-
Constructor Details
-
StoreFileCostFunction
StoreFileCostFunction(org.apache.hadoop.conf.Configuration conf)
-
-
Method Details
-
getCostFromRl
- Specified by:
getCostFromRl
in classCostFromRegionLoadFunction
-