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

Re/Un-schedule balancer chore for balance_switch

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0, 1.5.0, 2.2.1
    • Fix Version/s: None
    • Component/s: Balancer, master
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: