| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint | Package org.apache.hadoop.yarn.server.resourcemanager.scheduler.placement
 contains classes related to scheduling containers using placement
 constraints. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AllocationTags | AllocationTags. createAllocationTags(org.apache.hadoop.yarn.api.records.ApplicationId currentApplicationId,
                    String namespaceString,
                    Set<String> tags) | 
| static AllocationTags | AllocationTags. createGlobalAllocationTags(Set<String> tags) | 
| static AllocationTags | AllocationTags. createOtherAppAllocationTags(org.apache.hadoop.yarn.api.records.ApplicationId currentApp,
                            Set<String> tags) | 
| static AllocationTags | AllocationTags. createSingleAppAllocationTags(org.apache.hadoop.yarn.api.records.ApplicationId appId,
                             Set<String> tags) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | AllocationTagsManager. getNodeCardinalityByOp(org.apache.hadoop.yarn.api.records.NodeId nodeId,
                      AllocationTags tags,
                      LongBinaryOperator op)Get cardinality for following conditions. | 
| long | AllocationTagsManager. getRackCardinalityByOp(String rack,
                      AllocationTags tags,
                      LongBinaryOperator op)Get cardinality for following conditions. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.