public class TaskAttemptFailEvent extends TaskAttemptEvent
| Constructor and Description |
|---|
TaskAttemptFailEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id)
Create a new TaskAttemptFailEvent, with task fastFail disabled.
|
TaskAttemptFailEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
boolean fastFail)
Create a new TaskAttemptFailEvent.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFastFail()
Check if task should fast fail or retry
|
getTaskAttemptIDpublic TaskAttemptFailEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id)
id - the id of the task attemptpublic TaskAttemptFailEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id,
boolean fastFail)
id - the id of the task attemptfastFail - should the task fastFail or not.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.