public class ParsedTaskAttempt extends LoggedTaskAttempt
LoggedTaskAttempt
. This provides
also the extra information about the task attempt obtained from
job history which is not written to the JSON trace file.限定符和类型 | 方法和说明 |
---|---|
void |
incorporateCounters(JhCounters counters)
incorporate event counters
|
Map<String,Long> |
obtainCounters() |
String |
obtainDiagnosticInfo() |
Integer |
obtainHttpPort() |
String |
obtainStateString() |
String |
obtainTrackerName() |
void |
putCounters(Map<String,Long> counters)
Set the task attempt counters
|
void |
putDiagnosticInfo(String msg)
Set the task attempt diagnostic-info
|
deepCompare, getAttemptID, getCombineInputRecords, getFileBytesRead, getFileBytesWritten, getFinishTime, getHdfsBytesRead, getHdfsBytesWritten, getHostName, getLocation, getMapInputBytes, getMapInputRecords, getMapOutputBytes, getMapOutputRecords, getReduceInputGroups, getReduceInputRecords, getReduceOutputRecords, getReduceShuffleBytes, getResourceUsageMetrics, getResult, getShuffleFinished, getSortFinished, getSpilledRecords, getStartTime, setUnknownAttribute
public void incorporateCounters(JhCounters counters)
incorporateCounters
在类中 LoggedTaskAttempt
public void putDiagnosticInfo(String msg)
public String obtainDiagnosticInfo()
public String obtainTrackerName()
public Integer obtainHttpPort()
public String obtainStateString()
Copyright © 2009 The Apache Software Foundation