Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4429

Provide synchronous balanceSwitch()

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.94.0
    • None
    • None
    • Reviewed
    • Hide
      synchronousBalanceSwitch() has been added to HMaster.
      It waits until current balance() call, if outstanding, to return.
      Show
      synchronousBalanceSwitch() has been added to HMaster. It waits until current balance() call, if outstanding, to return.

    Description

      Currently balanceSwitch() doesn't guarantee that balancer isn't running upon return.
      During code review of HBASE-4213, we found that synchronous behavior for turning off balancer is desired.
      We can add blockingBalanceSwitch() to HMasterInterface upon whose return balancer is guaranteed not running.

      Attachments

        1. 4429.txt
          3 kB
          Ted Yu

        Issue Links

          Activity

            People

              yuzhihong@gmail.com Ted Yu
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: