[
https://issues.apache.org/jira/browse/HBASE-22822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viraj Jasani updated HBASE-22822:
---------------------------------
Resolution: Won't Fix
Status: Resolved (was: Patch Available)
> Re/Un-schedule balancer chore for balance_switch
> ------------------------------------------------
>
> Key: HBASE-22822
> URL: https://issues.apache.org/jira/browse/HBASE-22822
> Project: HBase
> Issue Type: Improvement
> Components: Balancer, master
> Affects Versions: 3.0.0, 1.5.0, 2.2.1
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Fix For: 3.0.0, 1.5.0, 2.2.2
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)