public class ContainerAllocation extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static ContainerAllocation | APP_SKIPPEDSkip the application, and look at other applications of the same queue | 
| static ContainerAllocation | LOCALITY_SKIPPEDSkip the locality (e.g. | 
| static ContainerAllocation | PRIORITY_SKIPPEDSkip the priority, and look at other priorities of the same application | 
| static ContainerAllocation | QUEUE_SKIPPEDSkip the leaf-queue, and look at other queues of the same parent queue | 
| Constructor and Description | 
|---|
| ContainerAllocation(RMContainer containerToBeUnreserved,
                   org.apache.hadoop.yarn.api.records.Resource resourceToBeAllocated,
                   AllocationState state) | 
| Modifier and Type | Method and Description | 
|---|---|
| AllocationState | getAllocationState() | 
| NodeType | getContainerNodeType() | 
| RMContainer | getContainerToBeUnreserved() | 
| org.apache.hadoop.yarn.api.records.Resource | getResourceToBeAllocated() | 
| List<RMContainer> | getToKillContainers() | 
| RMContainer | getUpdatedContainer() | 
| void | setToKillContainers(List<RMContainer> toKillContainers) | 
public static final ContainerAllocation LOCALITY_SKIPPED
public static final ContainerAllocation PRIORITY_SKIPPED
public static final ContainerAllocation APP_SKIPPED
public static final ContainerAllocation QUEUE_SKIPPED
public ContainerAllocation(RMContainer containerToBeUnreserved, org.apache.hadoop.yarn.api.records.Resource resourceToBeAllocated, AllocationState state)
public RMContainer getContainerToBeUnreserved()
public org.apache.hadoop.yarn.api.records.Resource getResourceToBeAllocated()
public AllocationState getAllocationState()
public NodeType getContainerNodeType()
public RMContainer getUpdatedContainer()
public void setToKillContainers(List<RMContainer> toKillContainers)
public List<RMContainer> getToKillContainers()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.