[
https://issues.apache.org/jira/browse/HBASE-15529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guanghao Zhang updated HBASE-15529:
-----------------------------------
Description: StochasticLoadBalancer includes cost functions to compute the
cost of region rount, r/w qps, table load, region locality, memstore size, and
storefile size. Every cost function returns a number between 0 and 1 inclusive
and the computed costs are scaled by their respective multipliers. The bigger
multiplier means that the respective cost function have the bigger weight. But
needBalance decide whether to balance only by region count and doesn't consider
r/w qps, locality even you config these cost function with bigger multiplier.
StochasticLoadBalancer should override needBalance and decide whether to
balance by it's configs of cost functions. (was: StochasticLoadBalancer
includes cost functions to compute the cost of region rount, r/w qps, table
load, region locality, memstore size, and storefile size. Every cost function
returns a number between 0 and 1 inclusive and the computed costs are scaled by
their respective multipliers. The bigger multiplier means that the respective
cost function have the bigger weight. But needBalance decide whether to balance
only by region count and doesn't consider r/w qps, locality even you config
these cost function with bigger multiplier. StochasticLoadBalancer should
override needBalance and decide whether to balance by it's configs of cost
function.)
> Override needBalance in StochasticLoadBalancer
> ----------------------------------------------
>
> Key: HBASE-15529
> URL: https://issues.apache.org/jira/browse/HBASE-15529
> Project: HBase
> Issue Type: Improvement
> Reporter: Guanghao Zhang
> Priority: Minor
>
> StochasticLoadBalancer includes cost functions to compute the cost of region
> rount, r/w qps, table load, region locality, memstore size, and storefile
> size. Every cost function returns a number between 0 and 1 inclusive and the
> computed costs are scaled by their respective multipliers. The bigger
> multiplier means that the respective cost function have the bigger weight.
> But needBalance decide whether to balance only by region count and doesn't
> consider r/w qps, locality even you config these cost function with bigger
> multiplier. StochasticLoadBalancer should override needBalance and decide
> whether to balance by it's configs of cost functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)