|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RMAppAttempt
Interface to an Application Attempt in the Resource Manager.
A RMApp
can have multiple app attempts based on
YarnConfiguration.RM_AM_MAX_ATTEMPTS
. For specific
implementation take a look at RMAppAttemptImpl
.
Method Summary | |
---|---|
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier> |
createClientToken(String clientName)
Create a token for authenticating a client connection to the app attempt |
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> |
getAMRMToken()
The AMRMToken belonging to this app attempt |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAppAttemptId()
Get the application attempt id for this RMAppAttempt . |
RMAppAttemptState |
getAppAttemptState()
The state of the RMAppAttempt . |
org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport |
getApplicationResourceUsageReport()
Get application container and resource usage information. |
SecretKey |
getClientTokenMasterKey()
The master key for client-to-AM tokens for this app attempt. |
String |
getDiagnostics()
Diagnostics information for the application attempt. |
org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
The final status set by the AM. |
String |
getHost()
The host on which the RMAppAttempt is running/ran on. |
List<org.apache.hadoop.yarn.api.records.ContainerStatus> |
getJustFinishedContainers()
Return the list of last set of finished containers. |
org.apache.hadoop.yarn.api.records.Container |
getMasterContainer()
The container on which the Application Master is running. |
String |
getOriginalTrackingUrl()
The original url at which the status of the application attempt can be accessed. |
float |
getProgress()
Progress for the application attempt. |
Set<org.apache.hadoop.yarn.api.records.NodeId> |
getRanNodes()
Nodes on which the containers for this RMAppAttempt ran. |
int |
getRpcPort()
The rpc port of the RMAppAttempt . |
long |
getStartTime()
the start time of the application. |
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext |
getSubmissionContext()
The application submission context for this RMAppAttempt . |
String |
getTrackingUrl()
The url at which the status of the application attempt can be accessed. |
String |
getWebProxyBase()
The base to be prepended to web URLs that are not relative, and the user has been checked. |
List<org.apache.hadoop.yarn.api.records.ContainerStatus> |
pullJustFinishedContainers()
Return a list of the last set of finished containers, resetting the finished containers to empty. |
Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler |
---|
handle |
Method Detail |
---|
org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppAttemptId()
RMAppAttempt
.
ApplicationAttemptId
for this RM attempt.RMAppAttemptState getAppAttemptState()
RMAppAttempt
.
RMAppAttemptState
of this RMAppAttempt
String getHost()
RMAppAttempt
is running/ran on.
RMAppAttempt
ran/is running on.int getRpcPort()
RMAppAttempt
.
RMAppAttempt
to which the clients can connect
to.String getTrackingUrl()
String getOriginalTrackingUrl()
String getWebProxyBase()
String getDiagnostics()
float getProgress()
RMAppAttempt
org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
Set<org.apache.hadoop.yarn.api.records.NodeId> getRanNodes()
RMAppAttempt
ran.
RMAppAttempt
List<org.apache.hadoop.yarn.api.records.ContainerStatus> pullJustFinishedContainers()
List<org.apache.hadoop.yarn.api.records.ContainerStatus> getJustFinishedContainers()
org.apache.hadoop.yarn.api.records.Container getMasterContainer()
Container
on which the application master is running.org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getSubmissionContext()
RMAppAttempt
.
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> getAMRMToken()
@InterfaceAudience.LimitedPrivate(value="RMStateStore") SecretKey getClientTokenMasterKey()
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.client.ClientToAMTokenIdentifier> createClientToken(String clientName)
clientName
- the name of the client requesting the token
org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport getApplicationResourceUsageReport()
long getStartTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |