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

Elliott Clark commented on HBASE-10127:
---------------------------------------

If hbase.master.loadbalance.bytable is false getAssignmentByTable doesn't 
actually group things by table.  it will create a fake table name and put all 
of the regions for all tables into that map entry.  Then when this command is 
called that table won't exist and will exit without doing anything.

> support balance table
> ---------------------
>
>                 Key: HBASE-10127
>                 URL: https://issues.apache.org/jira/browse/HBASE-10127
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, shell
>    Affects Versions: 0.94.14
>            Reporter: cuijianwei
>         Attachments: HBASE-10127-0.94-v1.patch
>
>
> HMaster provides a rpc interface : 'balance()' to balance all the regions 
> among region servers in the cluster. Sometimes, we might want to balance all 
> the regions belonging to a table while keeping the region assignments of 
> other tables. This demand may reveal in a shared cluster where we want to 
> balance regions for one application's table without affecting other 
> applications. Therefore, will it be useful if we extend the current 
> 'balance()' interface to only balance regions of the same table? 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to