org.apache.hadoop.mapreduce.v2.app.job.event
Class TaskAttemptEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<TaskAttemptEventType>
org.apache.hadoop.mapreduce.v2.app.job.event.TaskAttemptEvent
- All Implemented Interfaces:
- org.apache.hadoop.yarn.event.Event<TaskAttemptEventType>
- Direct Known Subclasses:
- TaskAttemptContainerAssignedEvent, TaskAttemptContainerLaunchedEvent, TaskAttemptDiagnosticsUpdateEvent, TaskAttemptKillEvent, TaskAttemptRecoverEvent, TaskAttemptStatusUpdateEvent
public class TaskAttemptEvent
- extends org.apache.hadoop.yarn.event.AbstractEvent<TaskAttemptEventType>
This class encapsulates task attempt related events.
|
Method Summary |
org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId |
getTaskAttemptID()
|
| Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent |
getTimestamp, getType, toString |
TaskAttemptEvent
public TaskAttemptEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
TaskAttemptEventType type)
- Create a new TaskAttemptEvent.
- Parameters:
id - the id of the task attempttype - the type of event that happened.
getTaskAttemptID
public org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId getTaskAttemptID()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.