public 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.限定符和类型 | 方法和说明 |
---|---|
void |
incorporateCounters(JhCounters counters) |
Map<String,Long> |
obtainCounters() |
String |
obtainDiagnosticInfo() |
String |
obtainFailedDueToAttemptId() |
List<ParsedTaskAttempt> |
obtainTaskAttempts() |
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.
|
deepCompare, getAttempts, getFinishTime, getInputBytes, getInputRecords, getOutputBytes, getOutputRecords, getPreferredLocations, getStartTime, getTaskID, getTaskStatus, getTaskType, setUnknownAttribute
public void incorporateCounters(JhCounters counters)
incorporateCounters
在类中 LoggedTask
public void putDiagnosticInfo(String msg)
public String obtainDiagnosticInfo()
public void putFailedDueToAttemptId(String attempt)
public String obtainFailedDueToAttemptId()
public List<ParsedTaskAttempt> obtainTaskAttempts()
Copyright © 2009 The Apache Software Foundation