CSQueue, Queue, SchedulerQueue<CSQueue>ManagedParentQueue, PlanQueuepublic abstract class AbstractManagedParentQueue extends AbstractParentQueue
AbstractParentQueue.QueueCapacityTypeAbstractCSQueue.CapacityConfigType| Modifier and Type | Field | Description |
|---|---|---|
protected AutoCreatedLeafQueueConfig |
leafQueueTemplate |
|
protected AutoCreatedQueueManagementPolicy |
queueManagementPolicy |
childQueuesactivitiesManager, authorizer, capacityConfigType, configuredCapacityVectors, configuredMaxCapacityVectors, queueAllocationSettings, queueContext, queueEntity, queueNodeLabelsSettings, queuePath, readLock, writeLock| Constructor | Description |
|---|---|
AbstractManagedParentQueue(CapacitySchedulerQueueContext queueContext,
java.lang.String queueName,
CSQueue parent,
CSQueue old) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addChildQueue(CSQueue childQueue) |
Add the specified child queue.
|
AutoCreatedQueueManagementPolicy |
getAutoCreatedQueueManagementPolicy() |
|
AutoCreatedLeafQueueConfig |
getLeafQueueTemplate() |
|
protected CapacitySchedulerConfiguration |
initializeLeafQueueConfigs(java.lang.String configPrefix) |
|
void |
reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
Reinitialize the queue.
|
CSQueue |
removeChildQueue(java.lang.String childQueueName) |
Remove the specified child queue.
|
void |
removeChildQueue(CSQueue childQueue) |
Remove the specified child queue.
|
protected float |
sumOfChildAbsCapacities() |
|
protected float |
sumOfChildCapacities() |
|
protected void |
validateQueueEntitlementChange(AbstractAutoCreatedLeafQueue leafQueue,
QueueEntitlement entitlement) |
apply, assignContainers, attachContainer, collectSchedulerApplications, completedContainer, createNewQueue, detachContainer, finishApplication, finishApplicationAttempt, getAbstractUsersManager, getAutoCreatedQueueTemplate, getCapacityConfigurationTypeForQueues, getChildQueues, getChildQueuesByTryLock, getNumApplications, getQueueInfo, getQueueOrderingPolicy, getQueueUserAclInfo, getResourceLimitsOfChild, hasChildQueues, isEligibleForAutoDeletion, isEligibleForAutoQueueCreation, recoverContainer, refreshAfterResourceCalculation, setDynamicQueueACLProperties, setupQueueConfigs, stopQueue, submitApplication, submitApplicationAttempt, submitApplicationAttempt, toString, updateClusterResource, updateClusterResourceLegacyMode, validateSubmitApplicationaccept, activateQueue, appFinished, assignContainers, checkConfigTypeIsAbsoluteResource, decPendingResource, decReservedResource, decUsedResource, getAbsoluteCapacity, getAbsoluteMaximumCapacity, getAbsoluteUsedCapacity, getAccessibleNodeLabels, getACLs, getCapacity, getCapacityConfigType, getCapacityOrWeightString, getConfiguredCapacityVector, getConfiguredMaxCapacityVector, getConfiguredNodeLabels, getDefaultApplicationLifetime, getDefaultApplicationPriority, getDefaultAppLifetimeWasSpecifiedInConfig, getDefaultNodeLabelExpression, getEffectiveCapacity, getEffectiveCapacityDown, getEffectiveMaxCapacity, getEffectiveMaxCapacityDown, getIntraQueuePreemptionDisabled, getIntraQueuePreemptionDisabledInHierarchy, getKillableContainers, getLabel, getMaximumAbsoluteResource, getMaximumAllocation, getMaximumApplicationLifetime, getMaximumCapacity, getMaxParallelApps, getMetrics, getMinimumAbsoluteResource, getMinimumAllocation, getMultiNodeSortingPolicyName, getNodeLabelsForQueue, getNumContainers, getParent, getPreemptionDisabled, getPriority, getPrivilegedEntity, getQueueCapacities, getQueueContext, getQueueInfo, getQueueName, getQueuePath, getQueuePathObject, getQueueResourceQuotas, getQueueResourceUsage, getQueueShortName, getReadLock, getState, getTotalKillableResource, getUsedCapacity, getUsedResources, getUserWeights, getWriteLock, hasAccess, incPendingResource, incReservedResource, incUsedResource, isDynamicQueue, isInactiveDynamicQueue, isReservationsContinueLooking, overrideCapacityVectorsForSpecialQueues, parseAndSetDynamicTemplates, recoverDrainingState, releaseResource, setConfiguredMaxCapacityVector, setConfiguredMinCapacityVector, setDynamicQueue, setMaxParallelApps, setMultiNodeSortingPolicyName, setParent, setupConfigurableCapacities, updateAbsoluteCapacities, updateCapacityConfigType, updateConfigurableResourceLimits, updateQueueStateprotected AutoCreatedLeafQueueConfig leafQueueTemplate
protected AutoCreatedQueueManagementPolicy queueManagementPolicy
public AbstractManagedParentQueue(CapacitySchedulerQueueContext queueContext, java.lang.String queueName, CSQueue parent, CSQueue old) throws java.io.IOException
java.io.IOExceptionpublic void reinitialize(CSQueue newlyParsedQueue, org.apache.hadoop.yarn.api.records.Resource clusterResource) throws java.io.IOException
CSQueuereinitialize in interface CSQueuereinitialize in class AbstractParentQueuenewlyParsedQueue - new queue to re-initalize fromclusterResource - resources in the clusterjava.io.IOException - an I/O exception has occurred.public void addChildQueue(CSQueue childQueue) throws SchedulerDynamicEditException, java.io.IOException
childQueue - reference to the child queue to be addedSchedulerDynamicEditException - when addChildQueue fails.java.io.IOException - an I/O exception has occurred.public void removeChildQueue(CSQueue childQueue) throws SchedulerDynamicEditException
removeChildQueue in class AbstractParentQueuechildQueue - reference to the child queue to be removedSchedulerDynamicEditException - when removeChildQueue fails.public CSQueue removeChildQueue(java.lang.String childQueueName) throws SchedulerDynamicEditException
childQueueName - name of the child queue to be removedSchedulerDynamicEditException - when removeChildQueue fails.protected float sumOfChildCapacities()
protected float sumOfChildAbsCapacities()
public AutoCreatedLeafQueueConfig getLeafQueueTemplate()
public AutoCreatedQueueManagementPolicy getAutoCreatedQueueManagementPolicy()
protected CapacitySchedulerConfiguration initializeLeafQueueConfigs(java.lang.String configPrefix)
protected void validateQueueEntitlementChange(AbstractAutoCreatedLeafQueue leafQueue, QueueEntitlement entitlement) throws SchedulerDynamicEditException
SchedulerDynamicEditExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.