[
https://issues.apache.org/jira/browse/HBASE-21011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569081#comment-16569081
]
Reid Chan commented on HBASE-21011:
-----------------------------------
bq. HFiles cleaner and then oldwals cleaner in a request
Should be first oldwals then hfiles, it depends on the order it is put in
{{ChoreService}}. So far, oldwals comes first.
bq. in a request.
In what request? they are periodically run without any request.
bq. only return succeed if both completes.
They are independent two chores, one succeed or not does nothing to the other.
bq. running HFiles cleaner is too slow
You need HBASE-18083
bq. execute admin command to run oldwals and HFiles cleaning procedure
individually.
We have 13 chores in master, any one delays will effect following chores, what
your said, we may need many clis to trigger chore if someone disables them by
default?
Even if you provide a cli, it makes no sense to the cleaning speed.
-1 for this proposal.
> 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: 3.0.0, 1.4.6, 2.1.1
> Reporter: Tak Lon (Stephen) Wu
> Assignee: Tak Lon (Stephen) Wu
> Priority: Minor
> Fix For: 3.0.0
>
>
> 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
> {noformat}
> hbase> cleaner_chore_run
> hbase> cleaner_chore_run 'hfiles'
> hbase> cleaner_chore_run 'oldwals'
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)