hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3373) Allow regions of specific table to be load-balanced
Date Fri, 28 Jan 2011 21:42:45 GMT

    [ 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:
   * Evenly distributes the regions of the tables (assuming the number of regions is much
   *  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 {

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.

View raw message