[
https://issues.apache.org/jira/browse/HBASE-26252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17411552#comment-17411552
]
Clara Xiong commented on HBASE-26252:
-------------------------------------
Looking over the pr. do you plan to ask operator and update config and reload
config even for dry runs? [~bbeaudreault]
> Add support for reloading balancer configs with BalanceRequest
> --------------------------------------------------------------
>
> Key: HBASE-26252
> URL: https://issues.apache.org/jira/browse/HBASE-26252
> Project: HBase
> Issue Type: Sub-task
> Reporter: Bryan Beaudreault
> Assignee: Bryan Beaudreault
> Priority: Minor
>
> It's currently a pain to iterate on balancer configs. You need to make
> changes in hbase-site.xml, then find the full ServerName for the active
> HMaster, then execute {{update_configuration '<full server name>'}}in the
> shell, then run the balancer.
> Finding the ServerName is actually quite annoying. The best way I've found is
> to look at the JMX dump and find {{tag.serverName}}, but that takes a bunch
> of steps.
> We can make this a good deal more convenient by adding direct support for
> reloading the balancer configs into the {{balance}} command.
> This could look something like:
> {{shell> balance \{RELOAD_CONFIGS => true}}}
> Alternatively, we could add another string arg like:
> {{shell> balance 'reload_config'}}
> Either way, we'd add a new
> {{BalanceRequest$Builder#setReloadConfig(boolean)}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)