| 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) | 
| CSAssignment | CSQueue. assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
                FiCaSchedulerNode node,
                ResourceLimits resourceLimits,
                SchedulingMode schedulingMode) | 
| CSAssignment | AbstractCSQueue. assignContainers(org.apache.hadoop.yarn.api.records.Resource clusterResource,
                FiCaSchedulerNode node,
                ResourceLimits resourceLimits,
                SchedulingMode schedulingMode) | 
| protected boolean | LeafQueue. canAssignToUser(org.apache.hadoop.yarn.api.records.Resource clusterResource,
               String userName,
               org.apache.hadoop.yarn.api.records.Resource limit,
               FiCaSchedulerApp application,
               String nodePartition,
               ResourceLimits currentResourceLimits) | 
| void | CSQueue. updateClusterResource(org.apache.hadoop.yarn.api.records.Resource clusterResource,
                     ResourceLimits resourceLimits)Update the cluster resource for queues as we add/remove nodes | 
| void | ParentQueue. updateClusterResource(org.apache.hadoop.yarn.api.records.Resource clusterResource,
                     ResourceLimits resourceLimits) | 
| void | LeafQueue. updateClusterResource(org.apache.hadoop.yarn.api.records.Resource clusterResource,
                     ResourceLimits currentResourceLimits) | 
| 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) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.