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