|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.tools.rumen.LoggedTask
org.apache.hadoop.tools.rumen.ParsedTask
public class ParsedTask
This is a wrapper class around LoggedTask. This provides also the
extra information about the task obtained from job history which is not
written to the JSON trace file.
| Method Summary | |
|---|---|
void |
incorporateCounters(org.apache.hadoop.mapreduce.jobhistory.JhCounters counters)
|
Map<String,Long> |
obtainCounters()
|
String |
obtainDiagnosticInfo()
|
String |
obtainFailedDueToAttemptId()
|
void |
putCounters(Map<String,Long> counters)
Set the task counters |
void |
putDiagnosticInfo(String msg)
Set the task diagnostic-info |
void |
putFailedDueToAttemptId(String attempt)
Set the failed-due-to-attemptId info of this task. |
| Methods inherited from class org.apache.hadoop.tools.rumen.LoggedTask |
|---|
deepCompare, getAttempts, getFinishTime, getInputBytes, getInputRecords, getOutputBytes, getOutputRecords, getPreferredLocations, getStartTime, getTaskID, getTaskStatus, getTaskType, setUnknownAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void incorporateCounters(org.apache.hadoop.mapreduce.jobhistory.JhCounters counters)
incorporateCounters in class LoggedTaskpublic void putCounters(Map<String,Long> counters)
public Map<String,Long> obtainCounters()
public void putDiagnosticInfo(String msg)
public String obtainDiagnosticInfo()
public void putFailedDueToAttemptId(String attempt)
public String obtainFailedDueToAttemptId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||