|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.Utils.OutputFileUtils.OutputLogFilter
org.apache.hadoop.mapred.Utils.OutputFileUtils.OutputFilesFilter
public static class Utils.OutputFileUtils.OutputFilesFilter
This class filters output(part) files from the given directory It does not accept files with filenames _logs and _SUCCESS. This can be used to list paths of output directory as follows: Path[] fileList = FileUtil.stat2Paths(fs.listStatus(outDir, new OutputFilesFilter()));
Constructor Summary | |
---|---|
Utils.OutputFileUtils.OutputFilesFilter()
|
Method Summary | |
---|---|
boolean |
accept(org.apache.hadoop.fs.Path path)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils.OutputFileUtils.OutputFilesFilter()
Method Detail |
---|
public boolean accept(org.apache.hadoop.fs.Path path)
accept
in interface org.apache.hadoop.fs.PathFilter
accept
in class Utils.OutputFileUtils.OutputLogFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |