@InterfaceAudience.LimitedPrivate(value="Configuration") public class HFileLinkCleaner extends BaseHFileCleanerDelegate
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.fs.FileSystem |
fs |
private ReentrantReadWriteLock |
lock |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
HFileLinkCleaner() |
Modifier and Type | Method and Description |
---|---|
boolean |
isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
Should the master delete the file or keep it?
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
isStopped, stop
getDeletableFiles, init
getConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmptyDirDeletable, preClean
private static final org.slf4j.Logger LOG
private org.apache.hadoop.fs.FileSystem fs
private ReentrantReadWriteLock lock
public HFileLinkCleaner()
public boolean isFileDeletable(org.apache.hadoop.fs.FileStatus fStat)
BaseFileCleanerDelegate
isFileDeletable
in class BaseFileCleanerDelegate
fStat
- file status of the file to checkpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
setConf
in class BaseConfigurable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.