|
Spring for Apache Hadoop | ||||||||
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 | |
---|---|
org.apache.hadoop.yarn.api.records.ApplicationReport |
getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Gets a report of the application. |
org.apache.hadoop.yarn.api.records.DelegationToken |
getDelegationToken(java.lang.String renewer)
Gets the resource manager delegation token. |
org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationResponse |
getNewApplication()
Requests a new application from a resource manager. |
org.apache.hadoop.yarn.api.protocolrecords.KillApplicationResponse |
killApplication(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Requests ResourceManager to abort submitted application. |
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> |
listApplications()
Gets a list of ApplicationReport s from a resource manager. |
org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationResponse |
submitApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubContext)
Submits a new application into resource manager. |
Method Detail |
---|
org.apache.hadoop.yarn.api.protocolrecords.GetNewApplicationResponse getNewApplication()
ApplicationId
but response
also contains information about resource capabilities.
GetNewApplicationResponse
org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationResponse submitApplication(org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext appSubContext)
appSubContext
- the Application Submission Context
SubmitApplicationResponse
java.util.List<org.apache.hadoop.yarn.api.records.ApplicationReport> listApplications()
ApplicationReport
s from a resource manager.
ApplicationReport
sorg.apache.hadoop.yarn.api.protocolrecords.KillApplicationResponse killApplication(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
ResourceManager
to abort submitted application.
applicationId
- the application id
KillApplicationResponse
org.apache.hadoop.yarn.api.records.DelegationToken getDelegationToken(java.lang.String renewer)
renewer
- the renewer as kerberos principal
org.apache.hadoop.yarn.api.records.ApplicationReport getApplicationReport(org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
applicationId
- the application id
ApplicationReport
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |