Details
Description
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> snapshot_auto_cleanup_switch false (disable auto-cleaner)
hbase(main):001:0> snapshot_auto_cleanup_switch true (enable auto-cleaner)