@InterfaceAudience.Public @InterfaceStability.Stable public enum YarnApplicationState extends Enum<YarnApplicationState>
ApplicationMaster
.Enum Constant and Description |
---|
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.
|
RUNNING
Application which is currently running.
|
SUBMITTED
Application which has been submitted.
|
Modifier and Type | Method and Description |
---|---|
static YarnApplicationState |
valueOf(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 SUBMITTED
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(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 © 2014 Apache Software Foundation. All Rights Reserved.