java.io.Serializable, java.lang.Comparable<YarnApplicationState>@Public @Stable public enum YarnApplicationState extends java.lang.Enum<YarnApplicationState>
ApplicationMaster.| Enum Constant | Description |
|---|---|
ACCEPTED |
Application has been accepted by the scheduler
|
FAILED |
Application which failed.
|
FINISHED |
Application which finished successfully.
|
KILLED |
Application which was terminated by a user or admin.
|
NEW |
Application which was just created.
|
NEW_SAVING |
Application which is being saved.
|
RUNNING |
Application which is currently running.
|
SUBMITTED |
Application which has been submitted.
|
| Modifier and Type | Method | Description |
|---|---|---|
static YarnApplicationState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static YarnApplicationState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnApplicationState NEW
public static final YarnApplicationState NEW_SAVING
public static final YarnApplicationState SUBMITTED
public static final YarnApplicationState ACCEPTED
public static final YarnApplicationState RUNNING
public static final YarnApplicationState FINISHED
public static final YarnApplicationState FAILED
public static final YarnApplicationState KILLED
public static YarnApplicationState[] values()
for (YarnApplicationState c : YarnApplicationState.values()) System.out.println(c);
public static YarnApplicationState 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.