| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.client.api | |
| org.apache.hadoop.yarn.client.api.async | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract List<Container> | AllocateResponse. getAllocatedContainers()Get the list of newly allocated  Containerby theResourceManager. | 
| abstract List<Container> | AllocateResponse. getContainersFromPreviousAttempts()Get the list of running containers as viewed by
  ResourceManagerfrom previous application attempts which
 have not been reported to the Application Master yet. | 
| abstract List<Container> | RegisterApplicationMasterResponse. getContainersFromPreviousAttempts()
 Get the list of running containers as viewed by
  ResourceManagerfrom previous application attempts. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens) | 
| static AllocateResponse | AllocateResponse. newInstance(int responseId,
           List<ContainerStatus> completedContainers,
           List<Container> allocatedContainers,
           List<NodeReport> updatedNodes,
           Resource availResources,
           AMCommand command,
           int numClusterNodes,
           PreemptionMessage preempt,
           List<NMToken> nmTokens,
           Token amRMToken,
           List<UpdatedContainer> updatedContainers,
           CollectorInfo collectorInfo) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Container | UpdatedContainer. getContainer()Get the  Container. | 
| Modifier and Type | Method and Description | 
|---|---|
| static UpdatedContainer | UpdatedContainer. newInstance(ContainerUpdateType updateType,
           Container container)Static Factory method. | 
| abstract void | UpdatedContainer. setContainer(Container container)Set the  Container. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | NMClient. increaseContainerResource(Container container)Deprecated.  | 
| void | AMRMClient. requestContainerResourceChange(Container container,
                              Resource capability) | 
| abstract void | AMRMClient. requestContainerUpdate(Container container,
                      UpdateContainerRequest updateContainerRequest)Request a container update before calling  allocate. | 
| abstract Map<String,ByteBuffer> | NMClient. startContainer(Container container,
              ContainerLaunchContext containerLaunchContext)Start an allocated container. | 
| abstract void | NMClient. updateContainerResource(Container container)Update the resources of a container. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | NMClientAsync. increaseContainerResourceAsync(Container container)Deprecated.  | 
| void | AMRMClientAsync. requestContainerResourceChange(Container container,
                              Resource capability) | 
| abstract void | AMRMClientAsync. requestContainerUpdate(Container container,
                      UpdateContainerRequest updateContainerRequest)Request a container update before calling  allocate. | 
| abstract void | NMClientAsync. startContainerAsync(Container container,
                   ContainerLaunchContext containerLaunchContext) | 
| abstract void | NMClientAsync. updateContainerResourceAsync(Container container)Update the resources of a container. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.