[ 
https://issues.apache.org/jira/browse/HBASE-22822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Viraj Jasani updated HBASE-22822:
---------------------------------
    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.

  was: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


> 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.1
>
>
> 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
(v7.6.14#76016)

Reply via email to