| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.scheduler | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.common | |
| 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 | 
|---|---|
| <N extends SchedulerNode> | SchedulerApplicationAttempt. getAppPlacementAllocator(org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerRequestKey) | 
| <N extends SchedulerNode> | AppSchedulingInfo. getAppPlacementAllocator(org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerkey) | 
| static AppPlacementAllocator<SchedulerNode> | ApplicationPlacementAllocatorFactory. getAppPlacementAllocator(String appPlacementAllocatorName,
                        AppSchedulingInfo appSchedulingInfo,
                        org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerRequestKey,
                        RMContext rmContext)Get AppPlacementAllocator related to the placement type requested. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Class<? extends AppPlacementAllocator> | ApplicationSchedulingConfig. DEFAULT_APPLICATION_PLACEMENT_TYPE_CLASS | 
| Modifier and Type | Method and Description | 
|---|---|
| AppPlacementAllocator<FiCaSchedulerNode> | FiCaSchedulerApp. getAppPlacementAllocator(org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey schedulerRequestKey) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LocalityAppPlacementAllocator<N extends SchedulerNode>This is an implementation of the  AppPlacementAllocatorthat takes
 into account locality preferences (node, rack, any) when allocating
 containers. | 
| class  | SingleConstraintAppPlacementAllocator<N extends SchedulerNode>This is a simple implementation to do affinity or anti-affinity for
 inter/intra apps. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.