@InterfaceAudience.Public @InterfaceStability.Stable public enum YarnApplicationAttemptState extends Enum<YarnApplicationAttemptState>
RMAppAttempt
.Enum Constant and 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 and Description |
---|---|
static YarnApplicationAttemptState |
valueOf(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(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 © 2023 Apache Software Foundation. All rights reserved.