You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (JIRA)" <ji...@apache.org> on 2019/07/29 11:26:00 UTC

[jira] [Created] (HBASE-22760) Stop/Resume Snapshot Auto-Cleanup activity with shell command

Viraj Jasani created HBASE-22760:
------------------------------------

             Summary: Stop/Resume Snapshot Auto-Cleanup activity with shell command
                 Key: HBASE-22760
                 URL: https://issues.apache.org/jira/browse/HBASE-22760
             Project: HBase
          Issue Type: Improvement
          Components: Admin, shell, snapshots
    Affects Versions: 3.0.0, 1.5.0, 2.3.0, 2.2.1, 1.4.11
            Reporter: Viraj Jasani
            Assignee: Viraj Jasani


For any scheduled snapshot backup activity, we would like to disable auto-cleaner for snapshot based on TTL. However, as per HBASE-22648 we have a config to disable snapshot auto-cleaner: hbase.master.cleaner.snapshot.disable, which would take effect only upon HMaster restart just similar to any other hbase-site configs.

For any running cluster, we should be able to stop/resume auto-cleanup activity for snapshot based on shell command. Something similar to below command should be able to stop/start cleanup chore:

hbase(main):001:0> disable_auto_snapshot_cleaner true

hbase(main):001:0> disable_auto_snapshot_cleaner false



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)