@InterfaceAudience.LimitedPrivate(value="Configuration") public class LongTermArchivingHFileCleaner extends BaseHFileCleanerDelegate
BaseHFileCleanerDelegate that only cleans HFiles that don't belong to a table that is
currently being archived.
This only works properly if the
TimeToLiveHFileCleaner
is also enabled (it always should be), since it may take a little time
for the ZK notification to propagate, in which case we may accidentally
delete some files.
| 构造器和说明 |
|---|
LongTermArchivingHFileCleaner() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
Should the master delete the file or keep it?
|
void |
setConf(org.apache.hadoop.conf.Configuration config) |
void |
stop(String reason) |
isStoppedgetDeletableFiles, initgetConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreCleanpublic boolean isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
BaseFileCleanerDelegateisFileDeletable 在类中 BaseFileCleanerDelegatefStat - file status of the file to checkpublic void setConf(org.apache.hadoop.conf.Configuration config)
setConf 在接口中 org.apache.hadoop.conf.ConfigurablesetConf 在类中 BaseConfigurablepublic void stop(String reason)
stop 在接口中 Stoppablestop 在类中 BaseHFileCleanerDelegateCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.