Modifier and Type | Method and Description |
---|---|
CSAssignment |
ParentQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
ResourceLimits resourceLimits,
SchedulingMode schedulingMode) |
CSAssignment |
LeafQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode) |
CSAssignment |
CSQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
ResourceLimits resourceLimits,
SchedulingMode schedulingMode)
Assign containers to applications in the queue or it's children (if any).
|
Modifier and Type | Method and Description |
---|---|
CSAssignment |
RegularContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
CSAssignment |
ContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
abstract CSAssignment |
AbstractContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer)
allocate needs to handle following stuffs:
Select request: Select a request to allocate.
|
Modifier and Type | Method and Description |
---|---|
CSAssignment |
FiCaSchedulerApp.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
PlacementSet<FiCaSchedulerNode> ps,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode,
RMContainer reservedContainer) |
Modifier and Type | Class and Description |
---|---|
class |
SimplePlacementSet<N extends SchedulerNode>
A simple PlacementSet which keeps an unordered map
|
Modifier and Type | Method and Description |
---|---|
Iterator<N> |
SchedulingPlacementSet.getPreferredNodeIterator(PlacementSet<N> clusterPlacementSet)
Get iterator of preferred node depends on requirement and/or availability
|
Iterator<N> |
LocalitySchedulingPlacementSet.getPreferredNodeIterator(PlacementSet<N> clusterPlacementSet) |
static <N extends SchedulerNode> |
PlacementSetUtils.getSingleNode(PlacementSet<N> ps) |
Copyright © 2020 Apache Software Foundation. All rights reserved.