| Package | Description |
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records |
| Modifier and Type | Method and Description |
|---|---|
abstract AMCommand |
AllocateResponse.getAMCommand()
If the
ResourceManager needs the
ApplicationMaster to take some action then it will send an
AMCommand to the ApplicationMaster. |
| 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,
CollectorInfo collectorInfo)
Deprecated.
|
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<UpdatedContainer> updatedContainers) |
| Modifier and Type | Method and Description |
|---|---|
static AMCommand |
AMCommand.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMCommand[] |
AMCommand.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.