CSQueue, Queue, SchedulerQueue<CSQueue>public class PlanQueue extends AbstractManagedParentQueue
ReservationSystem.
From the user perspective this is equivalent to a LeafQueue that respect
reservations, but functionality wise is a sub-class of ParentQueueAbstractParentQueue.QueueCapacityTypeAbstractCSQueue.CapacityConfigTypeleafQueueTemplate, queueManagementPolicychildQueuesactivitiesManager, authorizer, capacityConfigType, configuredCapacityVectors, configuredMaxCapacityVectors, queueAllocationSettings, queueContext, queueEntity, queueNodeLabelsSettings, queuePath, readLock, writeLock| Constructor | Description |
|---|---|
PlanQueue(CapacitySchedulerQueueContext queueContext,
java.lang.String queueName,
CSQueue parent,
CSQueue old) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getMaxApplicationsForReservations() |
Number of maximum applications for each of the reservations in this Plan.
|
int |
getMaxApplicationsPerUserForReservation() |
Number of maximum applications per user for each of the reservations in
this Plan.
|
float |
getUserLimitFactor() |
User limit factor value for each of the reservations in this Plan.
|
float |
getUserLimitForReservation() |
User limit value for each of the reservations in this Plan.
|
ReservationQueue |
initializeDefaultInternalQueue() |
|
void |
reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource) |
Reinitialize the queue.
|
boolean |
showReservationsAsQueues() |
Determine whether to hide/show the ReservationQueues.
|
addChildQueue, getAutoCreatedQueueManagementPolicy, getLeafQueueTemplate, initializeLeafQueueConfigs, removeChildQueue, removeChildQueue, sumOfChildAbsCapacities, sumOfChildCapacities, validateQueueEntitlementChangeapply, assignContainers, attachContainer, collectSchedulerApplications, completedContainer, createNewQueue, detachContainer, finishApplication, finishApplicationAttempt, getAbstractUsersManager, getAutoCreatedQueueTemplate, getCapacityConfigurationTypeForQueues, getChildQueues, getChildQueuesByTryLock, getNumApplications, getQueueInfo, getQueueOrderingPolicy, getQueueUserAclInfo, getResourceLimitsOfChild, hasChildQueues, isEligibleForAutoDeletion, isEligibleForAutoQueueCreation, isEligibleForLegacyAutoQueueCreation, 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, updateQueueStatepublic PlanQueue(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 AbstractManagedParentQueuenewlyParsedQueue - new queue to re-initalize fromclusterResource - resources in the clusterjava.io.IOException - an I/O exception has occurred.public ReservationQueue initializeDefaultInternalQueue() throws java.io.IOException
java.io.IOExceptionpublic int getMaxApplicationsForReservations()
public int getMaxApplicationsPerUserForReservation()
public float getUserLimitForReservation()
public float getUserLimitFactor()
public boolean showReservationsAsQueues()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.