[
https://issues.apache.org/jira/browse/HBASE-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988249#action_12988249
]
Ted Yu commented on HBASE-3373:
-------------------------------
This is what I added in HMaster:
{code}
/**
* Evenly distributes the regions of the tables (assuming the number of
regions is much bigger
* than the number of region servers)
* @param tableNames tables to load balance
* @param ttl Time-to-live for load balance request. If negative, request is
withdrawn
* @throws IOException e
*/
public void loadBalanceTable(final byte [][] tableNames, long ttl) throws
IOException {
{code}
Our production environment has 150 to 300 tables. We run flow sequentially.
Each flow creates about 10 new tables.
The above API would allow load balancer to distribute hot (recently split)
regions off certain region server(s).
> Allow regions of specific table to be load-balanced
> ---------------------------------------------------
>
> Key: HBASE-3373
> URL: https://issues.apache.org/jira/browse/HBASE-3373
> Project: HBase
> Issue Type: Improvement
> Components: master
> Affects Versions: 0.20.6
> Reporter: Ted Yu
> Fix For: 0.92.0
>
>
> From our experience, cluster can be well balanced and yet, one table's
> regions may be badly concentrated on few region servers.
> For example, one table has 839 regions (380 regions at time of table
> creation) out of which 202 are on one server.
> It would be desirable for load balancer to distribute regions for specified
> tables evenly across the cluster. Each of such tables has number of regions
> many times the cluster size.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.