@InterfaceAudience.Public @InterfaceStability.Unstable public enum TaskAttemptEndReason extends Enum<TaskAttemptEndReason>
Enum Constant and Description |
---|
APPLICATION_ERROR |
COMMUNICATION_ERROR |
CONTAINER_EXITED |
EXECUTOR_BUSY |
EXTERNAL_PREEMPTION |
FRAMEWORK_ERROR |
INTERNAL_PREEMPTION |
NODE_FAILED |
OTHER |
Modifier and Type | Method and Description |
---|---|
static TaskAttemptEndReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskAttemptEndReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAttemptEndReason NODE_FAILED
public static final TaskAttemptEndReason COMMUNICATION_ERROR
public static final TaskAttemptEndReason EXECUTOR_BUSY
public static final TaskAttemptEndReason INTERNAL_PREEMPTION
public static final TaskAttemptEndReason EXTERNAL_PREEMPTION
public static final TaskAttemptEndReason APPLICATION_ERROR
public static final TaskAttemptEndReason FRAMEWORK_ERROR
public static final TaskAttemptEndReason CONTAINER_EXITED
public static final TaskAttemptEndReason OTHER
public static TaskAttemptEndReason[] values()
for (TaskAttemptEndReason c : TaskAttemptEndReason.values()) System.out.println(c);
public static TaskAttemptEndReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 Apache Software Foundation. All rights reserved.