Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records |
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<ContainerResourceIncrease> increasedContainers,
List<ContainerResourceDecrease> decreasedContainers)
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) |
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) |
static RegisterApplicationMasterResponse |
RegisterApplicationMasterResponse.newInstance(Resource minCapability,
Resource maxCapability,
Map<ApplicationAccessType,String> acls,
ByteBuffer key,
List<Container> containersFromPreviousAttempt,
String queue,
List<NMToken> nmTokensFromPreviousAttempts) |
abstract void |
AllocateResponse.setAllocatedContainers(List<Container> containers)
Set the list of newly allocated
Container by the
ResourceManager . |
abstract void |
RegisterApplicationMasterResponse.setContainersFromPreviousAttempts(List<Container> containersFromPreviousAttempt)
Set the list of running containers as viewed by
ResourceManager from previous application attempts. |
Modifier and Type | Method and Description |
---|---|
abstract Container |
UpdatedContainer.getContainer()
Get the
Container . |
static Container |
Container.newInstance(ContainerId containerId,
NodeId nodeId,
String nodeHttpAddress,
Resource resource,
Priority priority,
Token containerToken) |
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 . |
Copyright © 2017 Apache Software Foundation. All Rights Reserved.