@InterfaceAudience.Private public enum TaskAttemptStateInternal extends Enum<TaskAttemptStateInternal>
Enum Constant and Description |
---|
ASSIGNED |
COMMIT_PENDING |
FAIL_CONTAINER_CLEANUP |
FAIL_FINISHING_CONTAINER |
FAIL_TASK_CLEANUP |
FAILED |
KILL_CONTAINER_CLEANUP |
KILL_TASK_CLEANUP |
KILLED |
NEW |
RUNNING |
SUCCEEDED |
SUCCESS_CONTAINER_CLEANUP |
SUCCESS_FINISHING_CONTAINER |
UNASSIGNED |
Modifier and Type | Method and Description |
---|---|
static TaskAttemptStateInternal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskAttemptStateInternal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAttemptStateInternal NEW
public static final TaskAttemptStateInternal UNASSIGNED
public static final TaskAttemptStateInternal ASSIGNED
public static final TaskAttemptStateInternal RUNNING
public static final TaskAttemptStateInternal COMMIT_PENDING
public static final TaskAttemptStateInternal SUCCESS_FINISHING_CONTAINER
public static final TaskAttemptStateInternal FAIL_FINISHING_CONTAINER
public static final TaskAttemptStateInternal SUCCESS_CONTAINER_CLEANUP
public static final TaskAttemptStateInternal SUCCEEDED
public static final TaskAttemptStateInternal FAIL_CONTAINER_CLEANUP
public static final TaskAttemptStateInternal FAIL_TASK_CLEANUP
public static final TaskAttemptStateInternal FAILED
public static final TaskAttemptStateInternal KILL_CONTAINER_CLEANUP
public static final TaskAttemptStateInternal KILL_TASK_CLEANUP
public static final TaskAttemptStateInternal KILLED
public static TaskAttemptStateInternal[] values()
for (TaskAttemptStateInternal c : TaskAttemptStateInternal.values()) System.out.println(c);
public static TaskAttemptStateInternal 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 © 2008–2024 Apache Software Foundation. All rights reserved.