public class TaskAttemptEvent extends org.apache.hadoop.yarn.event.AbstractEvent<TaskAttemptEventType>
| Constructor and Description |
|---|
TaskAttemptEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
TaskAttemptEventType type)
Create a new TaskAttemptEvent.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId |
getTaskAttemptID() |
public TaskAttemptEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
TaskAttemptEventType type)
id - the id of the task attempttype - the type of event that happened.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.