|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl
public class RMAppAttemptImpl
| Field Summary | |
|---|---|
static org.apache.hadoop.yarn.api.records.Priority |
AM_CONTAINER_PRIORITY
|
| Constructor Summary | |
|---|---|
RMAppAttemptImpl(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
String clientToken,
RMContext rmContext,
YarnScheduler scheduler,
ApplicationMasterService masterService,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext,
String proxy)
|
|
| Method Summary | |
|---|---|
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()
|
String |
getClientToken()
The token required by the clients to talk to the application 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. |
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. |
void |
handle(RMAppAttemptEvent event)
|
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. |
void |
setDiagnostics(String message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.hadoop.yarn.api.records.Priority AM_CONTAINER_PRIORITY
| Constructor Detail |
|---|
public RMAppAttemptImpl(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
String clientToken,
RMContext rmContext,
YarnScheduler scheduler,
ApplicationMasterService masterService,
org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext submissionContext,
String proxy)
| Method Detail |
|---|
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppAttemptId()
RMAppAttemptRMAppAttempt.
getAppAttemptId in interface RMAppAttemptApplicationAttemptId for this RM attempt.public org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext getSubmissionContext()
RMAppAttemptRMAppAttempt.
getSubmissionContext in interface RMAppAttemptpublic org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
RMAppAttempt
getFinalApplicationStatus in interface RMAppAttemptpublic RMAppAttemptState getAppAttemptState()
RMAppAttemptRMAppAttempt.
getAppAttemptState in interface RMAppAttemptRMAppAttemptState of this RMAppAttemptpublic String getHost()
RMAppAttemptRMAppAttempt is running/ran on.
getHost in interface RMAppAttemptRMAppAttempt ran/is running on.public int getRpcPort()
RMAppAttemptRMAppAttempt.
getRpcPort in interface RMAppAttemptRMAppAttempt to which the clients can connect
to.public String getTrackingUrl()
RMAppAttempt
getTrackingUrl in interface RMAppAttemptpublic String getOriginalTrackingUrl()
RMAppAttempt
getOriginalTrackingUrl in interface RMAppAttemptpublic String getWebProxyBase()
RMAppAttempt
getWebProxyBase in interface RMAppAttemptpublic String getClientToken()
RMAppAttempt
getClientToken in interface RMAppAttemptpublic String getDiagnostics()
RMAppAttempt
getDiagnostics in interface RMAppAttemptpublic void setDiagnostics(String message)
public float getProgress()
RMAppAttempt
getProgress in interface RMAppAttemptRMAppAttemptpublic List<org.apache.hadoop.yarn.api.records.ContainerStatus> getJustFinishedContainers()
RMAppAttempt
getJustFinishedContainers in interface RMAppAttemptpublic List<org.apache.hadoop.yarn.api.records.ContainerStatus> pullJustFinishedContainers()
RMAppAttempt
pullJustFinishedContainers in interface RMAppAttemptpublic Set<org.apache.hadoop.yarn.api.records.NodeId> getRanNodes()
RMAppAttemptRMAppAttempt ran.
getRanNodes in interface RMAppAttemptRMAppAttemptpublic org.apache.hadoop.yarn.api.records.Container getMasterContainer()
RMAppAttempt
getMasterContainer in interface RMAppAttemptContainer on which the application master is running.public void handle(RMAppAttemptEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<RMAppAttemptEvent>public org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport getApplicationResourceUsageReport()
getApplicationResourceUsageReport in interface RMAppAttempt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||