You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mallikarjun (Jira)" <ji...@apache.org> on 2021/07/29 02:42:01 UTC

[jira] [Comment Edited] (HBASE-26147) Add dry run mode to hbase balancer

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

Mallikarjun edited comment on HBASE-26147 at 7/29/21, 2:41 AM:
---------------------------------------------------------------

[~bbeaudreault] This feature is going to be super useful. 

This comment is not directly on feature as such.
 # Command name could be inline with existing balancer. May be `balancer 'dry_run'` or something similar to `force`. 
 # Rsgroup support should also be considered in this PR.


was (Author: rda3mon):
[~bbeaudreault] This comment is not directly on feature as such.
 # Command name could be inline with existing balancer. May be `balancer 'dry_run'` or something similar to `force`. 
 # Rsgroup support should also be considered in this PR.

> Add dry run mode to hbase balancer
> ----------------------------------
>
>                 Key: HBASE-26147
>                 URL: https://issues.apache.org/jira/browse/HBASE-26147
>             Project: HBase
>          Issue Type: Improvement
>          Components: Balancer, master
>            Reporter: Bryan Beaudreault
>            Assignee: Bryan Beaudreault
>            Priority: Major
>
> It's often rather hard to know how the cost function changes you're making will affect the balance of the cluster, and currently the only way to know is to run it. If the cost decisions are not good, you may have just moved many regions towards a non-ideal balance. Region moves themselves are not free for clients, and the resulting balance may cause a regression.
> We should add a mode to the balancer so that it can be invoked without actually executing any plans. This will allow an administrator to iterate on their cost functions and used the balancer's logging to see how their changes would affect the cluster. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)