clarax edited a comment 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 once the recheck warnings 
are cleared. 


-- 
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-unsubscr...@hbase.apache.org

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


Reply via email to