|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.HistoryViewer
@InterfaceAudience.Private @InterfaceStability.Unstable public class HistoryViewer
HistoryViewer is used to parse and view the JobHistory files
Nested Class Summary | |
---|---|
static class |
HistoryViewer.AnalyzedJob
Utility class used while analyzing the job. |
static class |
HistoryViewer.FilteredJob
Utility to filter out events based on the task status |
static class |
HistoryViewer.SummarizedJob
Utility class used the summarize the job. |
Constructor Summary | |
---|---|
HistoryViewer(String historyFile,
org.apache.hadoop.conf.Configuration conf,
boolean printAll)
Constructs the HistoryViewer object |
Method Summary | |
---|---|
static String |
getTaskLogsUrl(JobHistoryParser.TaskAttemptInfo attempt)
Return the TaskLogsUrl of a particular TaskAttempt |
void |
print()
Print the job/task/attempt summary information |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HistoryViewer(String historyFile, org.apache.hadoop.conf.Configuration conf, boolean printAll) throws IOException
historyFile
- The fully qualified Path of the History Fileconf
- The Configuration fileprintAll
- Toggle to print all status to only killed/failed status
IOException
Method Detail |
---|
public void print() throws IOException
IOException
public static String getTaskLogsUrl(JobHistoryParser.TaskAttemptInfo attempt)
attempt
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |