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

Re/Un-schedule balancer chore for balance_switch

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0-alpha-1, 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

          Activity

            People

            • Assignee:
              vjasani Viraj Jasani
              Reporter:
              vjasani Viraj Jasani

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment