| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager | |
| org.apache.hadoop.yarn.server.resourcemanager.ahs | |
| org.apache.hadoop.yarn.server.resourcemanager.metrics | Package org.apache.hadoop.yarn.server.resourcemanager.metrics contains
 classes related to publishing app/container events to ATS. | 
| org.apache.hadoop.yarn.server.resourcemanager.recovery.records | |
| org.apache.hadoop.yarn.server.resourcemanager.recovery.records.impl.pb | |
| org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.event | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState | RMServerUtils. createApplicationAttemptState(RMAppAttemptState rmAppAttemptState) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RMApplicationHistoryWriter. applicationAttemptFinished(RMAppAttempt appAttempt,
                          RMAppAttemptState finalState) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SystemMetricsPublisher. appAttemptFinished(RMAppAttempt appAttempt,
                  RMAppAttemptState appAttemtpState,
                  RMApp app,
                  long finishedTime) | 
| void | TimelineServiceV2Publisher. appAttemptFinished(RMAppAttempt appAttempt,
                  RMAppAttemptState appAttemtpState,
                  RMApp app,
                  long finishedTime) | 
| void | TimelineServiceV1Publisher. appAttemptFinished(RMAppAttempt appAttempt,
                  RMAppAttemptState appAttemptState,
                  RMApp app,
                  long finishedTime) | 
| void | CombinedSystemMetricsPublisher. appAttemptFinished(RMAppAttempt appAttempt,
                  RMAppAttemptState appAttemtpState,
                  RMApp app,
                  long finishedTime) | 
| void | NoOpSystemMetricPublisher. appAttemptFinished(RMAppAttempt appAttempt,
                  RMAppAttemptState appAttemtpState,
                  RMApp app,
                  long finishedTime) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract RMAppAttemptState | ApplicationAttemptStateData. getState()Get the final state of the application attempt. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ApplicationAttemptStateData | ApplicationAttemptStateData. newInstance(org.apache.hadoop.yarn.api.records.ApplicationAttemptId attemptId,
           org.apache.hadoop.yarn.api.records.Container container,
           org.apache.hadoop.security.Credentials attemptTokens,
           long startTime,
           RMAppAttemptState finalState,
           String finalTrackingUrl,
           String diagnostics,
           org.apache.hadoop.yarn.api.records.FinalApplicationStatus amUnregisteredFinalStatus,
           int exitStatus,
           long finishTime,
           Map<String,Long> resourceSecondsMap,
           Map<String,Long> preemptedResourceSecondsMap,
           int totalAllocatedContainers) | 
| abstract void | ApplicationAttemptStateData. setState(RMAppAttemptState state) | 
| Modifier and Type | Method and Description | 
|---|---|
| static RMAppAttemptState | ApplicationAttemptStateDataPBImpl. convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.RMAppAttemptStateProto e) | 
| RMAppAttemptState | ApplicationAttemptStateDataPBImpl. getState() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.RMAppAttemptStateProto | ApplicationAttemptStateDataPBImpl. convertToProtoFormat(RMAppAttemptState e) | 
| void | ApplicationAttemptStateDataPBImpl. setState(RMAppAttemptState state) | 
| Modifier and Type | Method and Description | 
|---|---|
| RMAppAttemptState | RMAppAttemptImpl. getAppAttemptState() | 
| RMAppAttemptState | RMAppAttempt. getAppAttemptState()The state of the  RMAppAttempt. | 
| RMAppAttemptState | RMAppAttemptImpl. getRecoveredFinalState() | 
| RMAppAttemptState | RMAppAttemptImpl. getState() | 
| RMAppAttemptState | RMAppAttempt. getState()The current state of the  RMAppAttempt. | 
| RMAppAttemptState | RMAppAttemptImpl.ScheduleTransition. transition(RMAppAttemptImpl appAttempt,
          RMAppAttemptEvent event) | 
| static RMAppAttemptState | RMAppAttemptState. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static RMAppAttemptState[] | RMAppAttemptState. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | RMAppAttemptImpl. onInvalidTranstion(RMAppAttemptEventType rmAppAttemptEventType,
                  RMAppAttemptState state) | 
| void | RMAppAttemptImpl. setRecoveredFinalState(RMAppAttemptState finalState) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SchedulerApplicationAttempt. stop(RMAppAttemptState rmAppAttemptFinalState) | 
| Modifier and Type | Method and Description | 
|---|---|
| RMAppAttemptState | AppAttemptRemovedSchedulerEvent. getFinalAttemptState() | 
| Constructor and Description | 
|---|
| AppAttemptRemovedSchedulerEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
                               RMAppAttemptState finalAttemptState,
                               boolean keepContainers) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.