DeepComparepublic class ParsedTask extends LoggedTask
LoggedTask. This provides also the
extra information about the task obtained from job history which is not
written to the JSON trace file.| Modifier and Type | Method | Description |
|---|---|---|
void |
incorporateCounters(org.apache.hadoop.mapreduce.jobhistory.JhCounters counters) |
|
java.util.Map<java.lang.String,java.lang.Long> |
obtainCounters() |
|
java.lang.String |
obtainDiagnosticInfo() |
|
java.lang.String |
obtainFailedDueToAttemptId() |
|
java.util.List<ParsedTaskAttempt> |
obtainTaskAttempts() |
|
void |
putCounters(java.util.Map<java.lang.String,java.lang.Long> counters) |
Set the task counters
|
void |
putDiagnosticInfo(java.lang.String msg) |
Set the task diagnostic-info
|
void |
putFailedDueToAttemptId(java.lang.String attempt) |
Set the failed-due-to-attemptId info of this task.
|
deepCompare, getAttempts, getFinishTime, getInputBytes, getInputRecords, getOutputBytes, getOutputRecords, getPreferredLocations, getStartTime, getTaskID, getTaskStatus, getTaskType, setUnknownAttributepublic void incorporateCounters(org.apache.hadoop.mapreduce.jobhistory.JhCounters counters)
incorporateCounters in class LoggedTaskpublic void putCounters(java.util.Map<java.lang.String,java.lang.Long> counters)
public java.util.Map<java.lang.String,java.lang.Long> obtainCounters()
public void putDiagnosticInfo(java.lang.String msg)
public java.lang.String obtainDiagnosticInfo()
public void putFailedDueToAttemptId(java.lang.String attempt)
public java.lang.String obtainFailedDueToAttemptId()
public java.util.List<ParsedTaskAttempt> obtainTaskAttempts()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.