java.io.Serializable, java.lang.Comparable<TaskAttemptState>public enum TaskAttemptState extends java.lang.Enum<TaskAttemptState>
| Enum Constant | Description |
|---|---|
COMMIT_PENDING |
|
FAILED |
|
KILLED |
|
NEW |
|
RUNNING |
|
STARTING |
|
SUCCEEDED |
| Modifier and Type | Method | Description |
|---|---|---|
static TaskAttemptState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TaskAttemptState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskAttemptState NEW
public static final TaskAttemptState STARTING
public static final TaskAttemptState RUNNING
public static final TaskAttemptState COMMIT_PENDING
public static final TaskAttemptState SUCCEEDED
public static final TaskAttemptState FAILED
public static final TaskAttemptState KILLED
public static TaskAttemptState[] values()
for (TaskAttemptState c : TaskAttemptState.values()) System.out.println(c);
public static TaskAttemptState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.