Generated by
JDiff

Class org.apache.hadoop.yarn.client.api.async.AMRMClientAsync

Added Constructors
AMRMClientAsync(int, AbstractCallbackHandler)  
AMRMClientAsync(AMRMClient, int, AbstractCallbackHandler)  
 

Added Methods
AMRMClientAsync createAMRMClientAsync(int, AbstractCallbackHandler)

Create a new instance of AMRMClientAsync.

AMRMClientAsync createAMRMClientAsync(AMRMClient, int, AbstractCallbackHandler)

Create a new instance of AMRMClientAsync.

Collection getMatchingRequests(long) Returns all matching ContainerRequests that match the given AllocationRequestId.
List getMatchingRequests(Priority, String, ExecutionType, Resource) Returns all matching ContainerRequests that match the given Priority ResourceName ExecutionType and Capability.
TimelineV2Client getRegisteredTimelineV2Client() Get registered timeline client.
void registerTimelineV2Client(TimelineV2Client) Register TimelineClient to AMRMClient.
void requestContainerResourceChange(Container, Resource) Request container resource change before calling allocate.
void requestContainerUpdate(Container, UpdateContainerRequest) Request a container update before calling allocate.
void updateTrackingUrl(String) Update application's tracking url on next heartbeat.
 

Changed Methods
AMRMClientAsync createAMRMClientAsync(int, CallbackHandler) Now deprecated.
Use {@link #createAMRMClientAsync(int, AMRMClientAsync.AbstractCallbackHandler)} instead.
AMRMClientAsync createAMRMClientAsync(AMRMClient, int, CallbackHandler) Now deprecated.
Use {@link #createAMRMClientAsync(AMRMClient, int, AMRMClientAsync.AbstractCallbackHandler)} instead.