@InterfaceAudience.Public @InterfaceStability.Stable public enum YarnApplicationAttemptState extends Enum<YarnApplicationAttemptState>
RMAppAttempt.| Enum Constant and Description | 
|---|
| ALLOCATEDAppAttempt Data was saved | 
| ALLOCATED_SAVINGAcquired AM Container from Scheduler and Saving AppAttempt Data | 
| FAILEDAppAttempt failed. | 
| FINISHEDAppAttempt finished successfully. | 
| FINISHINGAppAttempt is finishing. | 
| KILLEDAppAttempt was terminated by a user or admin. | 
| LAUNCHEDAppAttempt was launched | 
| NEWAppAttempt was just created. | 
| RUNNINGAppAttempt is currently running. | 
| SCHEDULEDAppAttempt was scheduled | 
| SUBMITTEDAppAttempt has been submitted. | 
| Modifier and Type | Method and Description | 
|---|---|
| static YarnApplicationAttemptState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static YarnApplicationAttemptState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final YarnApplicationAttemptState NEW
public static final YarnApplicationAttemptState SUBMITTED
public static final YarnApplicationAttemptState SCHEDULED
public static final YarnApplicationAttemptState ALLOCATED_SAVING
public static final YarnApplicationAttemptState ALLOCATED
public static final YarnApplicationAttemptState LAUNCHED
public static final YarnApplicationAttemptState FAILED
public static final YarnApplicationAttemptState RUNNING
public static final YarnApplicationAttemptState FINISHING
public static final YarnApplicationAttemptState FINISHED
public static final YarnApplicationAttemptState KILLED
public static YarnApplicationAttemptState[] values()
for (YarnApplicationAttemptState c : YarnApplicationAttemptState.values()) System.out.println(c);
public static YarnApplicationAttemptState 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 © 2023 Apache Software Foundation. All rights reserved.