| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| 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
Container by the
ResourceManager. |
abstract List<Container> |
RegisterApplicationMasterResponse.getContainersFromPreviousAttempts()
Get the list of running containers as viewed by
ResourceManager from 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,
List<org.apache.hadoop.yarn.api.records.ContainerResourceIncrease> increasedContainers,
List<org.apache.hadoop.yarn.api.records.ContainerResourceDecrease> decreasedContainers) |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,ByteBuffer> |
NMClient.startContainer(Container container,
ContainerLaunchContext containerLaunchContext)
Start an allocated container.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
NMClientAsync.startContainerAsync(Container container,
ContainerLaunchContext containerLaunchContext) |
Copyright © 2017 Apache Software Foundation. All rights reserved.