@InterfaceAudience.LimitedPrivate(value="Configuration") public class HFileLinkCleaner extends BaseHFileCleanerDelegate
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.fs.FileSystem |
fs |
private static org.apache.commons.logging.Log |
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
private static final org.apache.commons.logging.Log LOG
private org.apache.hadoop.fs.FileSystem fs
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–2019 The Apache Software Foundation. All rights reserved.