Example usage for Java org.apache.hadoop.mapreduce.jobhistory JobHistoryParser fields, constructors, methods, implement or subclass
The text is from its open source code.
JobHistoryParser(FileSystem fs, String file) Create a job history parser for the given history file using the given file system | |
JobHistoryParser(FileSystem fs, Path historyFile) Create the job history parser for the given history file using the given file system | |
JobHistoryParser(FSDataInputStream in) Create the history parser based on the input stream |
IOException | getParseException() Get the parse exception, if any. |
JobInfo | parse() Parse the entire history file and populate the JobInfo object The first invocation will populate the object, subsequent calls will return the already parsed object. |
void | parse(HistoryEventHandler handler) |
JobInfo | parse(EventReader reader) Only used for unit tests. |