hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15529) Override needBalance in StochasticLoadBalancer
Date Fri, 20 May 2016 23:45:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-15529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294546#comment-15294546
] 

Hudson commented on HBASE-15529:
--------------------------------

FAILURE: Integrated in HBase-Trunk_matrix #937 (See [https://builds.apache.org/job/HBase-Trunk_matrix/937/])
HBASE-15529 Revert due to TestRegionRebalancing failing (tedyu: rev 2bb07e209e297f41e35e3773b33fdbefce9522db)
* hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancer2.java
* hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/BalancerTestBase.java


> Override needBalance in StochasticLoadBalancer
> ----------------------------------------------
>
>                 Key: HBASE-15529
>                 URL: https://issues.apache.org/jira/browse/HBASE-15529
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Guanghao Zhang
>            Assignee: Guanghao Zhang
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: 15529-v1.patch, HBASE-15529-v1.patch, HBASE-15529-v2.patch, HBASE-15529.patch
>
>
> 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.
> Add one new config hbase.master.balancer.stochastic.minCostNeedBalance, cluster need
balance when (total cost / sum multiplier) > minCostNeedBalance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message