|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.TaskFailedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskFailedEvent
Event to record the failure of a task
Constructor Summary | |
---|---|
TaskFailedEvent(TaskID id,
long finishTime,
TaskType taskType,
String error,
String status,
TaskAttemptID failedDueToAttempt)
Create an event to record task failure |
Method Summary | |
---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
String |
getError()
Get the error string |
EventType |
getEventType()
Get the event type |
TaskAttemptID |
getFailedAttemptID()
Get the attempt id due to which the task failed |
long |
getFinishTime()
Get the finish time of the attempt |
TaskID |
getTaskId()
Get the task id |
String |
getTaskStatus()
Get the task status |
TaskType |
getTaskType()
Get the task type |
void |
setDatum(Object datum)
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 TaskFailedEvent(TaskID id, long finishTime, TaskType taskType, String error, String status, TaskAttemptID failedDueToAttempt)
id
- Task IDfinishTime
- Finish time of the tasktaskType
- Type of the taskerror
- Error Stringstatus
- StatusfailedDueToAttempt
- The attempt id due to which the task failedMethod Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public TaskID getTaskId()
public String getError()
public long getFinishTime()
public TaskType getTaskType()
public TaskAttemptID getFailedAttemptID()
public String getTaskStatus()
public EventType getEventType()
getEventType
in interface HistoryEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |