Java org.apache.hadoop.mapreduce.jobhistory JobHistoryParser fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.mapreduce.jobhistory JobHistoryParser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.mapreduce.jobhistory JobHistoryParser.

The text is from its open source code.

Constructor

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

Method

IOExceptiongetParseException()
Get the parse exception, if any.
JobInfoparse()
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.
voidparse(HistoryEventHandler handler)
JobInfoparse(EventReader reader)
Only used for unit tests.