Bryan Beaudreault created HBASE-26252:
-----------------------------------------

             Summary: 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


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)

Reply via email to