@InterfaceAudience.Private @InterfaceStability.Unstable public class HistoryViewer extends Object
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
HistoryViewer(String historyFile,
org.apache.hadoop.conf.Configuration conf,
boolean printAll)
Constructs the HistoryViewer object
|
Modifier and Type | Method and Description |
---|---|
static String |
getTaskLogsUrl(String scheme,
JobHistoryParser.TaskAttemptInfo attempt)
Return the TaskLogsUrl of a particular TaskAttempt
|
void |
print()
Print the job/task/attempt summary information
|
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 statusIOException
public void print() throws IOException
IOException
public static String getTaskLogsUrl(String scheme, JobHistoryParser.TaskAttemptInfo attempt)
attempt
- Copyright © 2017 Apache Software Foundation. All Rights Reserved.