You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2021/08/07 05:58:24 UTC

[GitHub] [hbase] clarax commented on pull request #3536: HBASE-26147: Add dry_run_balancer and related Admin interfaces for running the balancer without executing any region moves

clarax commented on pull request #3536:
URL: https://github.com/apache/hbase/pull/3536#issuecomment-894610280


   > @joshelser @clarax This is ready for another look. To summarize the changes:
   > 
   > * All of the interface changes have been combined into the new commit I just added. I'll squash everything into 1 commit once we are done here.
   > * New class `BalanceRequest` (public/evolving), with 2 public factory methods, and 1 public builder method.
   >   
   >   * Create the BalancerRequest with either `BalanceRequest#execute()` or `BalancerRequest#dryRun()`
   >   * Once you have a BalancerRequest, you can optionally enable the old force mode with `request#ignoreRegionsInTransition()`. I thought it would be good to clarify what force means here, whereas a boolean is rather opaque.
   >   * As a result, both normal and dryRun can be modified with ignoreRegionsInTransition. This actually seems reasonable, and simplifies some things.
   > * Similarly, I updated the hbase shell to have a single balance command. Previously you could execute the balance command with a `"force"` argument, now you can also specify a `"dry_run"` argument. You can also combine them, like with the BalanceRequest. I added a 'ignore_rit' option as replacement for 'force' in the future.
   > * Both changes have also been applied to the RSGroup balance command.
   
   I like the clean interface of the options. LGTM. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hbase.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org