|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.OutputLogFilter
public class OutputLogFilter
This class filters log files from directory given It doesnt accept paths having _logs. This can be used to list paths of output directory as follows: Path[] fileList = FileUtil.stat2Paths(fs.listStatus(outDir, new OutputLogFilter()));
| Constructor Summary | |
|---|---|
OutputLogFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(Path path)
Tests whether or not the specified abstract pathname should be included in a pathname list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputLogFilter()
| Method Detail |
|---|
public boolean accept(Path path)
PathFilter
accept in interface PathFilterpath - The abstract pathname to be tested
true if and only if pathname
should be included
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||