|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientRmOperations
Interface for client to resource manager communication.
ClientRmTemplate,
ClientRMProtocol| Method Summary | |
|---|---|
ApplicationReport |
getApplicationReport(ApplicationId applicationId)
Gets a report of the application. |
Token |
getDelegationToken(String renewer)
Gets the resource manager delegation token. |
GetNewApplicationResponse |
getNewApplication()
Requests a new application from a resource manager. |
KillApplicationResponse |
killApplication(ApplicationId applicationId)
Requests ResourceManager to abort submitted application. |
List<ApplicationReport> |
listApplications()
Gets a list of ApplicationReports from a resource manager. |
List<ApplicationReport> |
listApplications(EnumSet<YarnApplicationState> states,
Set<String> types)
Gets a list of ApplicationReports from a resource manager. |
SubmitApplicationResponse |
submitApplication(ApplicationSubmissionContext appSubContext)
Submits a new application into resource manager. |
| Method Detail |
|---|
GetNewApplicationResponse getNewApplication()
ApplicationId but response
also contains information about resource capabilities.
GetNewApplicationResponseSubmitApplicationResponse submitApplication(ApplicationSubmissionContext appSubContext)
appSubContext - the Application Submission Context
SubmitApplicationResponseList<ApplicationReport> listApplications()
ApplicationReports from a resource manager.
ApplicationReports
List<ApplicationReport> listApplications(EnumSet<YarnApplicationState> states,
Set<String> types)
ApplicationReports from a resource manager. Allows
to filter results by using a set of YarnApplicationStates and
registered application types.
states - the yarn application statestypes - the yarn application types
ApplicationReportsKillApplicationResponse killApplication(ApplicationId applicationId)
ResourceManager to abort submitted application.
applicationId - the application id
KillApplicationResponseToken getDelegationToken(String renewer)
renewer - the renewer as kerberos principal
ApplicationReport getApplicationReport(ApplicationId applicationId)
applicationId - the application id
ApplicationReport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||