Enum Class YarnApplicationState
- All Implemented Interfaces:
Serializable,Comparable<YarnApplicationState>,Constable
Enumeration of various states of an
ApplicationMaster.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplication has been accepted by the schedulerApplication which failed.Application which finished successfully.Application which was terminated by a user or admin.Application which was just created.Application which is being saved.Application which is currently running.Application which has been submitted. -
Method Summary
Modifier and TypeMethodDescriptionstatic YarnApplicationStateReturns the enum constant of this class with the specified name.static YarnApplicationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
Application which was just created. -
NEW_SAVING
Application which is being saved. -
SUBMITTED
Application which has been submitted. -
ACCEPTED
Application has been accepted by the scheduler -
RUNNING
Application which is currently running. -
FINISHED
Application which finished successfully. -
FAILED
Application which failed. -
KILLED
Application which was terminated by a user or admin.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-