Example usage for Java org.apache.hadoop.yarn.client.api AMRMClient fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addContainerRequest(T req) Request containers for resources before calling allocate |
AllocateResponse | allocate(float progressIndicator) Request additional containers and receive new container allocations. |
AMRMClient | createAMRMClient() Create a new instance of AMRMClient. |
void | init(Configuration conf) This invokes #serviceInit |
RegisterApplicationMasterResponse | registerApplicationMaster(String appHostName, int appHostPort, String appTrackingUrl) Register the application master. |
void | removeContainerRequest(T req) Remove previous container request. |
void | setNMTokenCache(NMTokenCache nmTokenCache) Set the NM token cache for the AMRMClient . |
void | start() |
void | unregisterApplicationMaster(FinalApplicationStatus appStatus, String appMessage, String appTrackingUrl) Unregister the application master. |
void | updateBlacklist(List Update application's blacklist with addition or removal resources. |