CSQueue, Queue, SchedulerQueue<CSQueue>AutoCreatedLeafQueue, ReservationQueuepublic class AbstractAutoCreatedLeafQueue extends AbstractLeafQueue
AbstractCSQueue.CapacityConfigType| Modifier and Type | Field | Description |
|---|---|---|
protected AbstractManagedParentQueue |
parent |
maxApplications, maxApplicationsPerUseractivitiesManager, authorizer, capacityConfigType, configuredCapacityVectors, configuredMaxCapacityVectors, queueAllocationSettings, queueContext, queueEntity, queueNodeLabelsSettings, queuePath, readLock, writeLock| Constructor | Description |
|---|---|
AbstractAutoCreatedLeafQueue(CapacitySchedulerQueueContext queueContext,
java.lang.String queueName,
AbstractManagedParentQueue parent,
CSQueue old) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
checkConfigTypeIsAbsoluteResource(java.lang.String queuePath,
java.lang.String label) |
|
protected org.apache.hadoop.yarn.api.records.Resource |
getMaximumAbsoluteResource(java.lang.String queuePath,
java.lang.String label) |
|
protected org.apache.hadoop.yarn.api.records.Resource |
getMinimumAbsoluteResource(java.lang.String queuePath,
java.lang.String label) |
|
void |
setEntitlement(java.lang.String nodeLabel,
QueueEntitlement entitlement) |
This methods to change capacity for a queue and adjusts its
absoluteCapacity.
|
void |
setEntitlement(QueueEntitlement entitlement) |
This methods to change capacity for a queue and adjusts its
absoluteCapacity
|
accept, activateApplications, apply, assignContainers, attachContainer, calculateAndGetAMResourceLimit, calculateAndGetAMResourceLimitPerPartition, canAssignToUser, collectSchedulerApplications, completedContainer, decAMUsedResource, decUsedResource, detachContainer, finishApplication, finishApplicationAttempt, getAbstractUsersManager, getAllApplications, getAllUsers, getAMResourceLimit, getAMResourceLimitPerPartition, getApplications, getChildQueues, getChildQueuesByTryLock, getDefaultApplicationPriority, getExtendedCapacityOrWeightString, getHeadroom, getHeadroom, getIgnoreExclusivityRMContainers, getMaxAMResourcePerQueuePercent, getMaxApplications, getMaxApplicationsPerUser, getMinimumAllocationFactor, getNodeLocalityDelay, getNumActiveApplications, getNumActiveApplications, getNumApplications, getNumPendingApplications, getNumPendingApplications, getOrCreateUser, getOrderingPolicy, getPendingApplications, getPendingAppsOrderingPolicy, getPriorityACLs, getQueueInfo, getQueueUserAclInfo, getRackLocalityAdditionalDelay, getRackLocalityFullReset, getResourceLimitForActiveUsers, getResourceLimitForAllUsers, getTotalPendingResourcesConsideringUserLimit, getUser, getUserAMResourceLimit, getUserAMResourceLimitPerPartition, getUserLimit, getUserLimitFactor, getUsersManager, incAMUsedResource, incUsedResource, isEligibleForAutoDeletion, parseAndSetDynamicTemplates, recalculateQueueUsageRatio, recoverContainer, refreshAfterResourceCalculation, reinitialize, setAbsoluteCapacity, setAbsoluteCapacity, setCapacity, setCapacity, setDynamicQueueACLProperties, setMaxAMResourcePerQueuePercent, setMaxApplications, setMaxApplicationsPerUser, setupQueueConfigs, stopQueue, submitApplication, submitApplicationAttempt, submitApplicationAttempt, toString, updateApplicationPriority, updateClusterResource, updateClusterResourceLegacyMode, validateSubmitApplicationactivateQueue, appFinished, assignContainers, decPendingResource, decReservedResource, getAbsoluteCapacity, getAbsoluteMaximumCapacity, getAbsoluteUsedCapacity, getAccessibleNodeLabels, getACLs, getCapacity, getCapacityConfigType, getCapacityOrWeightString, getConfiguredCapacityVector, getConfiguredMaxCapacityVector, getConfiguredNodeLabels, getDefaultApplicationLifetime, getDefaultAppLifetimeWasSpecifiedInConfig, getDefaultNodeLabelExpression, getEffectiveCapacity, getEffectiveCapacityDown, getEffectiveMaxCapacity, getEffectiveMaxCapacityDown, getIntraQueuePreemptionDisabled, getIntraQueuePreemptionDisabledInHierarchy, getKillableContainers, getLabel, getMaximumAllocation, getMaximumApplicationLifetime, getMaximumCapacity, getMaxParallelApps, getMetrics, 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, isDynamicQueue, isInactiveDynamicQueue, isReservationsContinueLooking, overrideCapacityVectorsForSpecialQueues, recoverDrainingState, releaseResource, setConfiguredMaxCapacityVector, setConfiguredMinCapacityVector, setDynamicQueue, setMaxParallelApps, setMultiNodeSortingPolicyName, setParent, setupConfigurableCapacities, updateAbsoluteCapacities, updateCapacityConfigType, updateConfigurableResourceLimits, updateQueueStateprotected AbstractManagedParentQueue parent
public AbstractAutoCreatedLeafQueue(CapacitySchedulerQueueContext queueContext, java.lang.String queueName, AbstractManagedParentQueue parent, CSQueue old) throws java.io.IOException
java.io.IOExceptionpublic void setEntitlement(QueueEntitlement entitlement) throws SchedulerDynamicEditException
entitlement - the new entitlement for the queue (capacity,
maxCapacity, etc..)SchedulerDynamicEditException - when setEntitlement fails.protected org.apache.hadoop.yarn.api.records.Resource getMinimumAbsoluteResource(java.lang.String queuePath,
java.lang.String label)
getMinimumAbsoluteResource in class AbstractCSQueueprotected org.apache.hadoop.yarn.api.records.Resource getMaximumAbsoluteResource(java.lang.String queuePath,
java.lang.String label)
getMaximumAbsoluteResource in class AbstractCSQueueprotected boolean checkConfigTypeIsAbsoluteResource(java.lang.String queuePath,
java.lang.String label)
checkConfigTypeIsAbsoluteResource in class AbstractCSQueuepublic void setEntitlement(java.lang.String nodeLabel,
QueueEntitlement entitlement)
throws SchedulerDynamicEditException
nodeLabel - nodeLabel.entitlement - the new entitlement for the queue (capacity,
maxCapacity, etc..)SchedulerDynamicEditException - when setEntitlement fails.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.