Package | Description |
---|---|
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity | |
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.allocator | |
org.apache.hadoop.yarn.server.resourcemanager.scheduler.common.fica | |
org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement |
Package org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement
contains classes related to application monitor.
|
Modifier and Type | Method and Description |
---|---|
CSAssignment |
CSQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
ResourceLimits resourceLimits,
SchedulingMode schedulingMode)
Assign containers to applications in the queue or it's children (if any).
|
CSAssignment |
ParentQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
ResourceLimits resourceLimits,
SchedulingMode schedulingMode) |
CSAssignment |
LeafQueue.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode) |
Modifier and Type | Method and Description |
---|---|
abstract CSAssignment |
AbstractContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer)
allocate needs to handle following stuffs:
Select request: Select a request to allocate.
|
CSAssignment |
RegularContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
CSAssignment |
ContainerAllocator.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> candidates,
SchedulingMode schedulingMode,
ResourceLimits resourceLimits,
RMContainer reservedContainer) |
Modifier and Type | Method and Description |
---|---|
CSAssignment |
FiCaSchedulerApp.assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CandidateNodeSet<FiCaSchedulerNode> ps,
ResourceLimits currentResourceLimits,
SchedulingMode schedulingMode,
RMContainer reservedContainer) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleCandidateNodeSet<N extends SchedulerNode>
A simple CandidateNodeSet which keeps an unordered map
|
Modifier and Type | Method and Description |
---|---|
abstract Iterator<N> |
AppPlacementAllocator.getPreferredNodeIterator(CandidateNodeSet<N> candidateNodeSet)
Get iterator of preferred node depends on requirement and/or availability.
|
Iterator<N> |
SingleConstraintAppPlacementAllocator.getPreferredNodeIterator(CandidateNodeSet<N> candidateNodeSet) |
Iterator<N> |
LocalityAppPlacementAllocator.getPreferredNodeIterator(CandidateNodeSet<N> candidateNodeSet) |
static <N extends SchedulerNode> |
CandidateNodeSetUtils.getSingleNode(CandidateNodeSet<N> candidates) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.