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

Duo Zhang updated HBASE-23680:
------------------------------
    Release Note: 
Add a new config to hbase-default.xml

  <property>
    <name>hbase.procedure.store.region.hfilecleaner.plugins</name>
    <value>org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner</value>
    <description>A comma-separated list of BaseHFileCleanerDelegate invoked by
    the RegionProcedureStore HFileCleaner service. These HFiles cleaners are
    called in order, so put the cleaner that prunes the most files in front. To
    implement your own BaseHFileCleanerDelegate, just put it in HBase's 
classpath
    and add the fully qualified class name here. Always add the above
    default hfile cleaners in the list as they will be overwritten in
    hbase-site.xml.</description>
  </property>

This will share the same TTL with other HFileCleaners, you can implement your 
own cleaner and change this property to enable it.

> RegionProcedureStore missing cleaning of hfile archive
> ------------------------------------------------------
>
>                 Key: HBASE-23680
>                 URL: https://issues.apache.org/jira/browse/HBASE-23680
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, RegionProcedureStore
>    Affects Versions: 2.3.0
>            Reporter: Michael Stack
>            Assignee: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> See tail of parent issue. The new RegionProcedureStore accumulates deleted 
> hfiles in its local archive dir. Needs a cleaner like the one that watches 
> over /hbase/archive.
> Is there a problem clearning the new $masterproc$ files from the oldWALs too? 
> These seem to stick around also.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to