Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26177 Add support to run balancer overriding current config
  3. HBASE-26252

Add support for reloading balancer configs with BalanceRequest

    XMLWordPrintableJSON

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

          Activity

            People

              bbeaudreault Bryan Beaudreault
              bbeaudreault Bryan Beaudreault
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: