You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Tak Lon (Stephen) Wu (JIRA)" <ji...@apache.org> on 2018/08/04 05:20:00 UTC

[jira] [Created] (HBASE-21011) Provide CLI option to run oldwals and hfiles cleaner separately

Tak Lon (Stephen) Wu created HBASE-21011:
--------------------------------------------

             Summary: Provide CLI option to run oldwals and hfiles cleaner separately
                 Key: HBASE-21011
                 URL: https://issues.apache.org/jira/browse/HBASE-21011
             Project: HBase
          Issue Type: Improvement
          Components: Admin, Client
    Affects Versions: 1.4.6, 3.0.0, 2.1.1
            Reporter: Tak Lon (Stephen) Wu
            Assignee: Tak Lon (Stephen) Wu


Existing logic of cleaner chore is first execute HFiles cleaner and then oldwals cleaner in a request, and only return succeed if both completes. 

There is a use case of running only oldwals cleaner because oldwals uses all the disk space, and running HFiles cleaner is too slow because either the amount of old HFiles or directories
 are too much. So, this change provide the flexibility for those disabled cleaner by default or would like to execute admin command to run oldwals and HFiles cleaning procedure individually.

NOTE that we keep the default as running both of them for backward compatibility, e.g. the proposed admin CLI options are 


{{ hbase> cleaner_chore_run}}
{{ hbase> cleaner_chore_run 'hfiles'}}
{{ hbase> cleaner_chore_run 'oldwals'}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)