| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records |
| Modifier and Type | Method and Description |
|---|---|
abstract List<ContainerResourceDecrease> |
AllocateResponse.getDecreasedContainers()
Get the list of newly decreased containers by
NodeManager |
| 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,
List<ContainerResourceIncrease> increasedContainers,
List<ContainerResourceDecrease> decreasedContainers) |
abstract void |
AllocateResponse.setDecreasedContainers(List<ContainerResourceDecrease> decreasedContainers)
Set the list of newly decreased containers by
NodeManager |
| Modifier and Type | Method and Description |
|---|---|
static ContainerResourceDecrease |
ContainerResourceDecrease.newInstance(ContainerId existingContainerId,
Resource targetCapability) |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.