You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Guanghao Zhang (Jira)" <ji...@apache.org> on 2019/09/02 09:04:00 UTC

[jira] [Updated] (HBASE-22822) Re/Un-schedule balancer chore for balance_switch

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

Guanghao Zhang updated HBASE-22822:
-----------------------------------
    Fix Version/s:     (was: 2.2.2)
                   2.2.1

> 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
(v8.3.2#803003)