Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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).
Attachments
Issue Links
- links to