|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.TaskAttemptFinishedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskAttemptFinishedEvent
Event to record successful task completion
Constructor Summary | |
---|---|
TaskAttemptFinishedEvent(TaskAttemptID id,
TaskType taskType,
String taskStatus,
long finishTime,
String rackName,
String hostname,
String state,
Counters counters)
Create an event to record successful finishes for setup and cleanup attempts |
Method Summary | |
---|---|
TaskAttemptID |
getAttemptId()
Get the task attempt id |
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get the event type |
long |
getFinishTime()
Get the attempt finish time |
String |
getHostname()
Get the host where the attempt executed |
String |
getRackName()
Get the rackname where the attempt executed |
String |
getState()
Get the state string |
TaskID |
getTaskId()
Get the task ID |
String |
getTaskStatus()
Get the task status |
TaskType |
getTaskType()
Get the task type |
void |
setDatum(Object oDatum)
Set the Avro datum wrapped by this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskAttemptFinishedEvent(TaskAttemptID id, TaskType taskType, String taskStatus, long finishTime, String rackName, String hostname, String state, Counters counters)
id
- Attempt IDtaskType
- Type of tasktaskStatus
- Status of taskfinishTime
- Finish time of attempthostname
- Host where the attempt executedstate
- State stringcounters
- Counters for the attemptMethod Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object oDatum)
HistoryEvent
setDatum
in interface HistoryEvent
public TaskID getTaskId()
public TaskAttemptID getAttemptId()
public TaskType getTaskType()
public String getTaskStatus()
public long getFinishTime()
public String getHostname()
public String getRackName()
public String getState()
public EventType getEventType()
getEventType
in interface HistoryEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |