Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.yarn.api.records.YarnApplicationState |
RMServerUtils.createApplicationState(RMAppState rmAppState) |
Modifier and Type | Method and Description |
---|---|
void |
RMApplicationHistoryWriter.applicationFinished(RMApp app,
RMAppState finalState) |
Modifier and Type | Method and Description |
---|---|
void |
SystemMetricsPublisher.appFinished(RMApp app,
RMAppState state,
long finishedTime) |
Modifier and Type | Method and Description |
---|---|
abstract RMAppState |
ApplicationStateData.getState()
Get the final state of the application.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationStateData |
ApplicationStateData.newInstance(long submitTime,
long startTime,
String user,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext,
RMAppState state,
String diagnostics,
long finishTime) |
abstract void |
ApplicationStateData.setState(RMAppState state) |
Modifier and Type | Method and Description |
---|---|
static RMAppState |
ApplicationStateDataPBImpl.convertFromProtoFormat(YarnServerResourceManagerRecoveryProtos.RMAppStateProto e) |
RMAppState |
ApplicationStateDataPBImpl.getState() |
Modifier and Type | Method and Description |
---|---|
static YarnServerResourceManagerRecoveryProtos.RMAppStateProto |
ApplicationStateDataPBImpl.convertToProtoFormat(RMAppState e) |
void |
ApplicationStateDataPBImpl.setState(RMAppState finalState) |
Modifier and Type | Method and Description |
---|---|
RMAppState |
RMAppImpl.getRecoveredFinalState() |
RMAppState |
RMAppImpl.getState() |
RMAppState |
RMApp.getState()
The current state of the
RMApp . |
static RMAppState |
RMAppState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RMAppState[] |
RMAppState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
QueueMetrics.finishApp(String user,
RMAppState rmAppFinalState) |
void |
SchedulerApplication.stop(RMAppState rmAppFinalState) |
Modifier and Type | Method and Description |
---|---|
RMAppState |
AppRemovedSchedulerEvent.getFinalState() |
Constructor and Description |
---|
AppRemovedSchedulerEvent(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
RMAppState finalState) |
Copyright © 2019 Apache Software Foundation. All Rights Reserved.