|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RMApp
The read interface to an Application in the ResourceManager. Take a
look at RMAppImpl for its implementation. This interface
exposes methods to access various updates in application status/report.
| Method Summary | |
|---|---|
org.apache.hadoop.yarn.api.records.ApplicationReport |
createAndGetApplicationReport()
To get the status of an application in the RM, this method can be used. |
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId()
The application id for this RMApp. |
ApplicationsStore.ApplicationStore |
getApplicationStore()
Application level metadata is stored in ApplicationsStore.ApplicationStore whicn
can persist the information. |
RMAppAttempt |
getCurrentAppAttempt()
RMApp can have multiple application attempts RMAppAttempt. |
StringBuilder |
getDiagnostics()
the diagnostics information for the application master. |
org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
getFinalApplicationStatus()
The final finish state of the AM when unregistering as in FinishApplicationMasterRequest.setFinishApplicationStatus(FinalApplicationStatus). |
long |
getFinishTime()
The finish time of the RMApp |
String |
getName()
The name of the application as set in ApplicationSubmissionContext.setApplicationName(String). |
float |
getProgress()
Progress of application. |
String |
getQueue()
Each Application is submitted to a queue decided by ApplicationSubmissionContext.setQueue(String). |
RMAppAttempt |
getRMAppAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
RMApp can have multiple application attempts RMAppAttempt. |
long |
getStartTime()
the start time of the application. |
RMAppState |
getState()
The current state of the RMApp. |
long |
getSubmitTime()
the submit time of the application. |
String |
getTrackingUrl()
The tracking url for the application master. |
String |
getUser()
The user who submitted this application. |
| Methods inherited from interface org.apache.hadoop.yarn.event.EventHandler |
|---|
handle |
| Method Detail |
|---|
org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
RMApp.
ApplicationId for this RMApp.RMAppState getState()
RMApp.
RMAppState for this application.String getUser()
float getProgress()
RMApp.RMAppAttempt getRMAppAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId)
RMApp can have multiple application attempts RMAppAttempt.
This method returns the RMAppAttempt corresponding to
ApplicationAttemptId.
appAttemptId - the application attempt id
RMAppAttempt corresponding to the ApplicationAttemptId.String getQueue()
ApplicationSubmissionContext.setQueue(String).
This method returns the queue to which an application was submitted.
String getName()
ApplicationSubmissionContext.setApplicationName(String).
RMAppAttempt getCurrentAppAttempt()
RMApp can have multiple application attempts RMAppAttempt.
This method returns the current RMAppAttempt.
RMAppAttemptorg.apache.hadoop.yarn.api.records.ApplicationReport createAndGetApplicationReport()
ApplicationReport detailing the status of the application.ApplicationsStore.ApplicationStore getApplicationStore()
ApplicationsStore.ApplicationStore whicn
can persist the information.
ApplicationsStore.ApplicationStore for this RMApp.long getFinishTime()
RMApp
long getStartTime()
long getSubmitTime()
String getTrackingUrl()
StringBuilder getDiagnostics()
org.apache.hadoop.yarn.api.records.FinalApplicationStatus getFinalApplicationStatus()
FinishApplicationMasterRequest.setFinishApplicationStatus(FinalApplicationStatus).
FinishApplicationMasterRequest.setFinishApplicationStatus(FinalApplicationStatus).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||