| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity | |
| org.apache.hadoop.yarn.server.resourcemanager.placement | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.policy | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.preemption | |
| org.apache.hadoop.yarn.server.resourcemanager.scheduler.event | |
| org.apache.hadoop.yarn.server.resourcemanager.webapp.dao |
This package contains the web data access objects (DAO) for the RM.
|
| org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.helper |
This package contains helper classes for any Info object.
|
| Constructor | Description |
|---|---|
TempQueuePerPartition(java.lang.String queueName,
org.apache.hadoop.yarn.api.records.Resource current,
boolean preemptionDisabled,
java.lang.String partition,
org.apache.hadoop.yarn.api.records.Resource killable,
float absCapacity,
float absMaxCapacity,
org.apache.hadoop.yarn.api.records.Resource totalPartitionResource,
org.apache.hadoop.yarn.api.records.Resource reserved,
CSQueue queue,
org.apache.hadoop.yarn.api.records.Resource effMinRes,
org.apache.hadoop.yarn.api.records.Resource effMaxRes) |
| Modifier and Type | Method | Description |
|---|---|---|
static QueueMapping |
QueuePlacementRuleUtils.validateAndGetQueueMapping(CapacitySchedulerQueueManager queueManager,
CSQueue queue,
QueueMapping mapping) |
|
static void |
QueuePlacementRuleUtils.validateQueueMappingUnderParentQueue(CSQueue parentQueue,
java.lang.String parentQueueName,
java.lang.String leafQueuePath) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractAutoCreatedLeafQueue |
Abstract class for dynamic auto created queues managed by an implementation
of AbstractManagedParentQueue
|
class |
AbstractCSQueue |
Provides implementation of
CSQueue methods common for every queue class in Capacity
Scheduler. |
class |
AbstractLeafQueue |
|
class |
AbstractManagedParentQueue |
A container class for automatically created child leaf queues.
|
class |
AbstractParentQueue |
|
class |
AutoCreatedLeafQueue |
Leaf queues which are auto created by an underlying implementation of
AbstractManagedParentQueue.
|
class |
LeafQueue |
|
class |
ManagedParentQueue |
Auto Creation enabled Parent queue.
|
class |
ParentQueue |
|
class |
PlanQueue |
This represents a dynamic queue managed by the
ReservationSystem. |
class |
ReservationQueue |
This represents a dynamic
LeafQueue managed by the
ReservationSystem |
| Modifier and Type | Field | Description |
|---|---|---|
protected CSQueue |
ResourceCalculationDriver.queue |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.List<CSQueue> |
AbstractParentQueue.childQueues |
| Modifier and Type | Method | Description |
|---|---|---|
CSQueue |
AbstractParentQueue.createNewQueue(java.lang.String childQueuePath,
boolean isLeaf) |
|
CSQueue |
CSQueueStore.get(java.lang.String name) |
Getter method for the queue it can find queues by both full and
short names.
|
CSQueue |
AbstractCSQueue.getParent() |
|
CSQueue |
CSQueue.getParent() |
Get the parent
Queue. |
CSQueue |
CalculationContext.getQueue() |
|
CSQueue |
CapacityScheduler.getQueue(java.lang.String queueName) |
|
CSQueue |
CapacitySchedulerQueueManager.getQueue(java.lang.String queueName) |
|
CSQueue |
QueueManagementChange.getQueue() |
|
CSQueue |
ResourceCalculationDriver.getQueue() |
Returns the parent that is driving the calculation.
|
CSQueue |
CapacitySchedulerQueueManager.getQueueByFullName(java.lang.String name) |
|
CSQueue |
CapacityScheduler.getRootQueue() |
|
CSQueue |
CapacitySchedulerQueueManager.getRootQueue() |
|
CSQueue |
AbstractManagedParentQueue.removeChildQueue(java.lang.String childQueueName) |
Remove the specified child queue.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<CSQueue> |
AbstractLeafQueue.getChildQueues() |
|
java.util.List<CSQueue> |
AbstractParentQueue.getChildQueues() |
|
java.util.List<CSQueue> |
CSQueue.getChildQueues() |
Get child queues
|
java.util.Collection<CSQueue> |
ResourceCalculationDriver.getChildQueues() |
Returns all the children defined under the driver parent queue.
|
java.util.List<CSQueue> |
AbstractLeafQueue.getChildQueuesByTryLock() |
|
java.util.List<CSQueue> |
AbstractParentQueue.getChildQueuesByTryLock() |
|
java.util.List<CSQueue> |
CSQueue.getChildQueuesByTryLock() |
Get child queues By tryLock.
|
java.util.Map<java.lang.String,CSQueue> |
CapacitySchedulerQueueManager.getQueues() |
|
java.util.Collection<CSQueue> |
CSQueueStore.getQueues() |
Returns all queues as a list.
|
QueueStateManager<CSQueue,CapacitySchedulerConfiguration> |
CapacitySchedulerQueueManager.getQueueStateManager() |
|
java.util.Map<java.lang.String,CSQueue> |
CapacitySchedulerQueueManager.getShortNameQueues() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
CSQueueStore.add(CSQueue queue) |
Method for adding a queue to the store.
|
void |
AbstractManagedParentQueue.addChildQueue(CSQueue childQueue) |
Add the specified child queue.
|
void |
ManagedParentQueue.addChildQueue(CSQueue childQueue) |
|
void |
CapacitySchedulerQueueManager.addQueue(java.lang.String queueName,
CSQueue queue) |
|
void |
AbstractLeafQueue.completedContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
FiCaSchedulerNode node,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
CSQueue childQueue,
boolean sortQueues) |
|
void |
AbstractParentQueue.completedContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
FiCaSchedulerNode node,
RMContainer rmContainer,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
CSQueue completedChildQueue,
boolean sortQueues) |
|
void |
CSQueue.completedContainer(org.apache.hadoop.yarn.api.records.Resource clusterResource,
FiCaSchedulerApp application,
FiCaSchedulerNode node,
RMContainer container,
org.apache.hadoop.yarn.api.records.ContainerStatus containerStatus,
RMContainerEventType event,
CSQueue childQueue,
boolean sortQueues) |
A container assigned to the queue has completed.
|
static float |
CSQueueUtils.computeAbsoluteMaximumCapacity(float maximumCapacity,
CSQueue parent) |
|
org.apache.hadoop.yarn.api.records.Priority |
WorkflowPriorityMappingsManager.getMappedPriority(java.lang.String workflowID,
CSQueue queue) |
|
ResourceLimits |
AbstractParentQueue.getResourceLimitsOfChild(CSQueue child,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
ResourceLimits parentLimits,
java.lang.String nodePartition,
boolean netLimit) |
|
protected java.util.Set<java.lang.String> |
AbstractQueueCapacityCalculator.getResourceNames(CSQueue queue,
java.lang.String label) |
Returns all resource names that are defined for the capacity type that is
handled by the calculator.
|
protected java.util.Set<java.lang.String> |
AbstractQueueCapacityCalculator.getResourceNames(CSQueue queue,
java.lang.String label,
QueueCapacityVector.ResourceUnitCapacityType capacityType) |
Returns all resource names that are defined for a capacity type.
|
org.apache.hadoop.yarn.api.records.Priority |
WorkflowPriorityMappingsManager.mapWorkflowPriorityForApp(org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
CSQueue queue,
java.lang.String user,
org.apache.hadoop.yarn.api.records.Priority priority) |
|
void |
AbstractLeafQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
AbstractManagedParentQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
AbstractParentQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
AutoCreatedLeafQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
CSQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
Reinitialize the queue.
|
void |
ManagedParentQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
PlanQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
ReservationQueue.reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
|
void |
CSQueueStore.remove(CSQueue queue) |
Method for removing a queue from the store.
|
void |
AbstractManagedParentQueue.removeChildQueue(CSQueue childQueue) |
Remove the specified child queue.
|
void |
AbstractParentQueue.removeChildQueue(CSQueue queue) |
|
void |
CapacityScheduler.removeQueue(CSQueue queue) |
|
void |
AbstractCSQueue.setParent(CSQueue newParentQueue) |
|
void |
CSQueue.setParent(CSQueue newParentQueue) |
Set the parent
Queue. |
static void |
CapacitySchedulerQueueCapacityHandler.setQueueCapacities(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CSQueue queue,
java.lang.String label) |
Sets capacity and absolute capacity values of a queue based on minimum and
maximum effective resources.
|
protected void |
CapacitySchedulerQueueManager.setRootQueue(CSQueue rootQueue) |
|
void |
AbsoluteResourceCapacityCalculator.updateCapacitiesAfterCalculation(ResourceCalculationDriver resourceCalculationDriver,
CSQueue queue,
java.lang.String label) |
|
abstract void |
AbstractQueueCapacityCalculator.updateCapacitiesAfterCalculation(ResourceCalculationDriver resourceCalculationDriver,
CSQueue queue,
java.lang.String label) |
Sets the metrics and statistics after effective resource values calculation.
|
void |
PercentageQueueCapacityCalculator.updateCapacitiesAfterCalculation(ResourceCalculationDriver resourceCalculationDriver,
CSQueue queue,
java.lang.String label) |
|
void |
RootQueueCapacityCalculator.updateCapacitiesAfterCalculation(ResourceCalculationDriver resourceCalculationDriver,
CSQueue queue,
java.lang.String label) |
|
void |
WeightQueueCapacityCalculator.updateCapacitiesAfterCalculation(ResourceCalculationDriver resourceCalculationDriver,
CSQueue queue,
java.lang.String label) |
|
QueueCapacityUpdateContext |
CapacitySchedulerQueueCapacityHandler.updateChildren(org.apache.hadoop.yarn.api.records.Resource clusterResource,
CSQueue queue) |
Updates the resource and metrics values of all children under a specific queue.
|
void |
CapacitySchedulerQueueCapacityHandler.updateRoot(CSQueue rootQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
Updates the resource and metrics value of the root queue.
|
protected void |
ManagedParentQueue.validate(CSQueue newlyParsedQueue) |
| Modifier and Type | Method | Description |
|---|---|---|
AbstractParentQueue.QueueCapacityType |
AbstractParentQueue.getCapacityConfigurationTypeForQueues(java.util.Collection<CSQueue> queues) |
| Modifier and Type | Method | Description |
|---|---|---|
CSQueue |
PriorityUtilizationQueueOrderingPolicy.PriorityQueueResourcesForSorting.getQueue() |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Iterator<CSQueue> |
PriorityUtilizationQueueOrderingPolicy.getAssignmentIterator(java.lang.String partition) |
|
java.util.Iterator<CSQueue> |
QueueOrderingPolicy.getAssignmentIterator(java.lang.String partition) |
Return an iterator over the collection of CSQueues which orders
them for container assignment.
|
java.util.List<CSQueue> |
PriorityUtilizationQueueOrderingPolicy.getQueues() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
PriorityUtilizationQueueOrderingPolicy.setQueues(java.util.List<CSQueue> queues) |
|
void |
QueueOrderingPolicy.setQueues(java.util.List<CSQueue> queues) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
PreemptionManager.refreshQueues(CSQueue parent,
CSQueue current) |
| Modifier and Type | Method | Description |
|---|---|---|
CSQueue |
AutoCreatedQueueDeletionEvent.getCheckQueue() |
| Constructor | Description |
|---|---|
AutoCreatedQueueDeletionEvent(CSQueue checkQueue) |
| Modifier and Type | Method | Description |
|---|---|---|
protected CapacitySchedulerQueueInfoList |
CapacitySchedulerInfo.getQueues(CapacityScheduler cs,
CSQueue parent) |
|
static java.util.ArrayList<QueueAclInfo> |
CapacitySchedulerQueueInfo.getSortedQueueAclInfoList(CSQueue queue,
java.lang.String queuePath,
CapacitySchedulerConfiguration conf) |
|
protected void |
CapacitySchedulerLeafQueueInfo.populateQueueCapacities(CSQueue queue) |
|
protected void |
CapacitySchedulerQueueInfo.populateQueueCapacities(CSQueue queue) |
| Constructor | Description |
|---|---|
CapacitySchedulerInfo(CSQueue parent,
CapacityScheduler cs) |
|
QueueCapacitiesInfo(CSQueue queue,
boolean considerAMUsage) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
CapacitySchedulerInfoHelper.getAutoCreationEligibility(CSQueue queue) |
|
static java.lang.String |
CapacitySchedulerInfoHelper.getCreationMethod(CSQueue queue) |
|
static java.lang.String |
CapacitySchedulerInfoHelper.getMode(CSQueue queue) |
|
static java.lang.String |
CapacitySchedulerInfoHelper.getQueueType(CSQueue queue) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.