public interface AppmasterRmOperations
AppmasterRmTemplate,
ApplicationMasterProtocol| Modifier and Type | Method and Description |
|---|---|
AllocateResponse |
allocate(AllocateRequest request)
Allocate container.
|
FinishApplicationMasterResponse |
finish(FinishApplicationMasterRequest request)
Finish the application master.
|
RegisterApplicationMasterResponse |
registerApplicationMaster(String host,
Integer rpcPort,
String trackUrl)
Register application master.
|
RegisterApplicationMasterResponse registerApplicationMaster(String host, Integer rpcPort, String trackUrl)
host - the hostrpcPort - the rpc porttrackUrl - the track urlRegisterApplicationMasterResponseAllocateResponse allocate(AllocateRequest request)
request - the requestFinishApplicationMasterResponse finish(FinishApplicationMasterRequest request)
request - the FinishApplicationMasterRequestFinishApplicationMasterResponse