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

Re/Un-schedule balancer chore for balance_switch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.0.0-alpha-1, 1.5.0, 2.2.1
    • None
    • Balancer, master
    • None

    Description

      balance_switch turns on/off balancer. When it is turned off, we don't remove balancer chore from scheduled chores hence it keeps running only to eventually find out that it is not supposed to perform any action(if balancer was turned off). We can unschedule the chore to prevent the chore() execution and reschedule it when it is turned on by balance_switch.

      This should also facilitate running balancer immediately after triggering balance_switch true, and then chore would continue running as per duration provided in hbase.balancer.period.

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: