@InterfaceAudience.Public @InterfaceStability.Stable public enum YarnApplicationState extends Enum<YarnApplicationState>
ApplicationMaster
.Enum Constant and 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 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 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(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 © 2018 Apache Software Foundation. All rights reserved.