java.io.Serializable, java.lang.Comparable<YarnApplicationAttemptState>@Public @Stable public enum YarnApplicationAttemptState extends java.lang.Enum<YarnApplicationAttemptState>
RMAppAttempt.| Enum Constant | Description |
|---|---|
ALLOCATED |
AppAttempt Data was saved
|
ALLOCATED_SAVING |
Acquired AM Container from Scheduler and Saving AppAttempt Data
|
FAILED |
AppAttempt failed.
|
FINISHED |
AppAttempt finished successfully.
|
FINISHING |
AppAttempt is finishing.
|
KILLED |
AppAttempt was terminated by a user or admin.
|
LAUNCHED |
AppAttempt was launched
|
NEW |
AppAttempt was just created.
|
RUNNING |
AppAttempt is currently running.
|
SCHEDULED |
AppAttempt was scheduled
|
SUBMITTED |
AppAttempt has been submitted.
|
| Modifier and Type | Method | Description |
|---|---|---|
static YarnApplicationAttemptState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static YarnApplicationAttemptState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnApplicationAttemptState NEW
public static final YarnApplicationAttemptState SUBMITTED
public static final YarnApplicationAttemptState SCHEDULED
public static final YarnApplicationAttemptState ALLOCATED_SAVING
public static final YarnApplicationAttemptState ALLOCATED
public static final YarnApplicationAttemptState LAUNCHED
public static final YarnApplicationAttemptState FAILED
public static final YarnApplicationAttemptState RUNNING
public static final YarnApplicationAttemptState FINISHING
public static final YarnApplicationAttemptState FINISHED
public static final YarnApplicationAttemptState KILLED
public static YarnApplicationAttemptState[] values()
for (YarnApplicationAttemptState c : YarnApplicationAttemptState.values()) System.out.println(c);
public static YarnApplicationAttemptState 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.