public abstract class AbstractManagedParentQueue extends ParentQueue
AbstractCSQueue.CapacityConfigType| Modifier and Type | Field and Description |
|---|---|
protected AutoCreatedLeafQueueConfig |
leafQueueTemplate |
protected AutoCreatedQueueManagementPolicy |
queueManagementPolicy |
childQueuesactivitiesManager, authorizer, capacityConfigType, csContext, queueEntity, readLock, writeLock| Constructor and Description |
|---|
AbstractManagedParentQueue(CapacitySchedulerContext cs,
String queueName,
CSQueue parent,
CSQueue old) |
apply, assignContainers, attachContainer, collectSchedulerApplications, completedContainer, detachContainer, finishApplication, finishApplicationAttempt, getAbstractUsersManager, getChildQueues, getNumApplications, getQueueInfo, getQueueOrderingPolicy, getQueueUserAclInfo, hasChildQueues, recoverContainer, setupQueueConfigs, stopQueue, submitApplication, submitApplicationAttempt, toString, updateClusterResource, validateSubmitApplicationaccept, accessibleToPartition, activeQueue, appFinished, assignContainers, decPendingResource, decReservedResource, decUsedResource, getAbsoluteCapacity, getAbsoluteMaximumCapacity, getAbsoluteUsedCapacity, getAccessibleNodeLabels, getACLs, getCapacity, getCapacityConfigType, getDefaultApplicationLifetime, getDefaultApplicationPriority, getDefaultAppLifetimeWasSpecifiedInConfig, getDefaultNodeLabelExpression, getEffectiveCapacity, getEffectiveCapacityDown, getEffectiveMaxCapacity, getEffectiveMaxCapacityDown, getIntraQueuePreemptionDisabled, getIntraQueuePreemptionDisabledInHierarchy, getKillableContainers, getMaximumAllocation, getMaximumApplicationLifetime, getMaximumCapacity, getMetrics, getMinimumAllocation, getMultiNodeSortingPolicyName, getNodeLabelsForQueue, getNumContainers, getParent, getPreemptionDisabled, getPriority, getPrivilegedEntity, getQueueCapacities, getQueueConfigurations, getQueueInfo, getQueueName, getQueuePath, getQueueResourceQuotas, getQueueResourceUsage, getQueueStatistics, getReadLock, getReservationContinueLooking, getState, getTotalKillableResource, getUsedCapacity, getUsedResources, getUserWeights, hasAccess, incPendingResource, incReservedResource, incUsedResource, recoverDrainingState, releaseResource, setMultiNodeSortingPolicyName, setParent, setupConfigurableCapacities, setupConfigurableCapacities, setupQueueConfigs, updateConfigurableResourceRequirement, updateQueueStateprotected AutoCreatedLeafQueueConfig leafQueueTemplate
protected AutoCreatedQueueManagementPolicy queueManagementPolicy
public AbstractManagedParentQueue(CapacitySchedulerContext cs, String queueName, CSQueue parent, CSQueue old) throws IOException
IOExceptionpublic void reinitialize(CSQueue newlyParsedQueue, org.apache.hadoop.yarn.api.records.Resource clusterResource) throws IOException
CSQueuereinitialize in interface CSQueuereinitialize in class ParentQueuenewlyParsedQueue - new queue to re-initalize fromclusterResource - resources in the clusterIOExceptionpublic void addChildQueue(CSQueue childQueue) throws SchedulerDynamicEditException, IOException
childQueue - reference to the child queue to be addedSchedulerDynamicEditExceptionIOExceptionpublic void removeChildQueue(CSQueue childQueue) throws SchedulerDynamicEditException
childQueue - reference to the child queue to be removedSchedulerDynamicEditExceptionpublic CSQueue removeChildQueue(String childQueueName) throws SchedulerDynamicEditException
childQueueName - name of the child queue to be removedSchedulerDynamicEditExceptionprotected float sumOfChildCapacities()
protected float sumOfChildAbsCapacities()
public AutoCreatedLeafQueueConfig getLeafQueueTemplate()
public AutoCreatedQueueManagementPolicy getAutoCreatedQueueManagementPolicy()
protected SortedMap<String,String> getConfigurationsWithPrefix(SortedMap<String,String> sortedConfigs, String prefix)
protected CapacitySchedulerConfiguration initializeLeafQueueConfigs(String configPrefix)
protected void validateQueueEntitlementChange(AbstractAutoCreatedLeafQueue leafQueue, QueueEntitlement entitlement) throws SchedulerDynamicEditException
SchedulerDynamicEditExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.