public interface AppmasterRmOperations
AppmasterRmTemplate
,
ApplicationMasterProtocol
Modifier and Type | Method and Description |
---|---|
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(java.lang.String host,
java.lang.Integer rpcPort,
java.lang.String trackUrl)
Register application master.
|
org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse registerApplicationMaster(java.lang.String host, java.lang.Integer rpcPort, java.lang.String trackUrl)
host
- the hostrpcPort
- the rpc porttrackUrl
- the track urlRegisterApplicationMasterResponse
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse allocate(org.apache.hadoop.yarn.api.protocolrecords.AllocateRequest request)
request
- the requestorg.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterResponse finish(org.apache.hadoop.yarn.api.protocolrecords.FinishApplicationMasterRequest request)
request
- the FinishApplicationMasterRequest
FinishApplicationMasterResponse