Class ContainerAllocation
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator.ContainerAllocation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ContainerAllocationSkip the application, and look at other applications of the same queuestatic final ContainerAllocationSkip the locality (e.g. node-local, rack-local, any), and look at other localities of the same prioritystatic final ContainerAllocationSkip the priority, and look at other priorities of the same applicationstatic final ContainerAllocationSkip the leaf-queue, and look at other queues of the same parent queue -
Constructor Summary
ConstructorsConstructorDescriptionContainerAllocation(RMContainer containerToBeUnreserved, org.apache.hadoop.yarn.api.records.Resource resourceToBeAllocated, AllocationState state) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ResourcevoidsetToKillContainers(List<RMContainer> toKillContainers)
-
Field Details
-
LOCALITY_SKIPPED
Skip the locality (e.g. node-local, rack-local, any), and look at other localities of the same priority -
PRIORITY_SKIPPED
Skip the priority, and look at other priorities of the same application -
APP_SKIPPED
Skip the application, and look at other applications of the same queue -
QUEUE_SKIPPED
Skip the leaf-queue, and look at other queues of the same parent queue
-
-
Constructor Details
-
ContainerAllocation
public ContainerAllocation(RMContainer containerToBeUnreserved, org.apache.hadoop.yarn.api.records.Resource resourceToBeAllocated, AllocationState state)
-
-
Method Details
-
getContainerToBeUnreserved
-
getResourceToBeAllocated
public org.apache.hadoop.yarn.api.records.Resource getResourceToBeAllocated() -
getAllocationState
-
getContainerNodeType
-
getUpdatedContainer
-
setToKillContainers
-
getToKillContainers
-