| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager | |
| 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 | Description |
|---|---|---|
protected AllocationTagsManager |
ResourceManager.createAllocationTagsManager() |
|
AllocationTagsManager |
RMActiveServiceContext.getAllocationTagsManager() |
|
AllocationTagsManager |
RMContext.getAllocationTagsManager() |
|
AllocationTagsManager |
RMContextImpl.getAllocationTagsManager() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RMActiveServiceContext.setAllocationTagsManager(AllocationTagsManager allocationTagsManager) |
|
void |
RMContext.setAllocationTagsManager(AllocationTagsManager allocationTagsManager) |
|
void |
RMContextImpl.setAllocationTagsManager(AllocationTagsManager allocationTagsManager) |
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
PlacementConstraintsUtil.canSatisfyConstraints(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
org.apache.hadoop.yarn.api.records.SchedulingRequest request,
SchedulerNode schedulerNode,
PlacementConstraintManager pcm,
AllocationTagsManager atm) |
|
static boolean |
PlacementConstraintsUtil.canSatisfyConstraints(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
org.apache.hadoop.yarn.api.records.SchedulingRequest request,
SchedulerNode schedulerNode,
PlacementConstraintManager pcm,
AllocationTagsManager atm,
java.util.Optional<DiagnosticsCollector> dcOpt) |
Returns true if the placement constraint for a given scheduling request
is currently satisfied by the specific scheduler node.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.