Enum Class YarnApplicationAttemptState
java.lang.Object
java.lang.Enum<YarnApplicationAttemptState>
org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState
- All Implemented Interfaces:
Serializable,Comparable<YarnApplicationAttemptState>,Constable
Enumeration of various states of a
RMAppAttempt.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAppAttempt Data was savedAcquired AM Container from Scheduler and Saving AppAttempt DataAppAttempt failed.AppAttempt finished successfully.AppAttempt is finishing.AppAttempt was terminated by a user or admin.AppAttempt was launchedAppAttempt was just created.AppAttempt is currently running.AppAttempt was scheduledAppAttempt has been submitted. -
Method Summary
Modifier and TypeMethodDescriptionstatic YarnApplicationAttemptStateReturns the enum constant of this class with the specified name.static YarnApplicationAttemptState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
AppAttempt was just created. -
SUBMITTED
AppAttempt has been submitted. -
SCHEDULED
AppAttempt was scheduled -
ALLOCATED_SAVING
Acquired AM Container from Scheduler and Saving AppAttempt Data -
ALLOCATED
AppAttempt Data was saved -
LAUNCHED
AppAttempt was launched -
FAILED
AppAttempt failed. -
RUNNING
AppAttempt is currently running. -
FINISHING
AppAttempt is finishing. -
FINISHED
AppAttempt finished successfully. -
KILLED
AppAttempt 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
-