|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppmasterRmOperations
Interface for appmaster to resource manager communication.
AppmasterRmTemplate
,
AMRMProtocol
Method Summary | |
---|---|
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse |
allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request)
Allocate container. |
org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse |
finish(org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request)
Finish the application master. |
org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse |
registerApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
java.lang.String host,
java.lang.Integer rpcPort,
java.lang.String trackUrl)
Register application master. |
Method Detail |
---|
org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse registerApplicationMaster(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId, java.lang.String host, java.lang.Integer rpcPort, java.lang.String trackUrl)
appAttemptId
- the app attempt idhost
- the hostrpcPort
- the rpc porttrackUrl
- the track url
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request)
request
- the request
org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse finish(org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request)
request
- the request
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |