public class ManagedParentQueue extends AbstractManagedParentQueue
AbstractCSQueue.CapacityConfigTypeleafQueueTemplate, queueManagementPolicychildQueuesactivitiesManager, authorizer, capacityConfigType, csContext, queueEntity, readLock, writeLock| Constructor and Description |
|---|
ManagedParentQueue(CapacitySchedulerContext cs,
String queueName,
CSQueue parent,
CSQueue old) |
getAutoCreatedQueueManagementPolicy, getConfigurationsWithPrefix, getLeafQueueTemplate, initializeLeafQueueConfigs, removeChildQueue, removeChildQueue, sortCSConfigurations, sumOfChildAbsCapacities, sumOfChildCapacities, validateQueueEntitlementChangeapply, assignContainers, attachContainer, collectSchedulerApplications, completedContainer, detachContainer, finishApplication, finishApplicationAttempt, getAbstractUsersManager, getChildQueues, getNumApplications, getQueueInfo, getQueueOrderingPolicy, getQueueUserAclInfo, hasChildQueues, recoverContainer, setupQueueConfigs, stopQueue, submitApplication, submitApplicationAttempt, 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, getMaxParallelApps, getMetrics, getMinimumAllocation, getMultiNodeSortingPolicyName, getNodeLabelsForQueue, getNumContainers, getParent, getPreemptionDisabled, getPriority, getPrivilegedEntity, getQueueCapacities, getQueueConfigurations, getQueueInfo, getQueueName, getQueuePath, getQueueResourceQuotas, getQueueResourceUsage, getQueueShortName, getQueueStatistics, getReadLock, getReservationContinueLooking, getState, getTotalKillableResource, getUsedCapacity, getUsedResources, getUserWeights, hasAccess, incPendingResource, incReservedResource, incUsedResource, recoverDrainingState, releaseResource, setMaxParallelApps, setMultiNodeSortingPolicyName, setParent, setupConfigurableCapacities, setupConfigurableCapacities, setupQueueConfigs, updateConfigurableResourceRequirement, updateQueueStatepublic ManagedParentQueue(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 AbstractManagedParentQueuenewlyParsedQueue - new queue to re-initalize fromclusterResource - resources in the clusterIOException - an I/O exception has occurred.protected AutoCreatedLeafQueueConfig.Builder initializeLeafQueueConfigs()
protected void validate(CSQueue newlyParsedQueue) throws IOException
IOExceptionpublic void addChildQueue(CSQueue childQueue) throws SchedulerDynamicEditException, IOException
AbstractManagedParentQueueaddChildQueue in class AbstractManagedParentQueuechildQueue - reference to the child queue to be addedSchedulerDynamicEditException - when addChildQueue fails.IOException - an I/O exception has occurred.public List<FiCaSchedulerApp> getScheduleableApplications()
public List<FiCaSchedulerApp> getPendingApplications()
public List<FiCaSchedulerApp> getAllApplications()
public String getLeafQueueConfigPrefix(CapacitySchedulerConfiguration conf)
public boolean shouldFailAutoCreationWhenGuaranteedCapacityExceeded()
public void validateAndApplyQueueManagementChanges(List<QueueManagementChange> queueManagementChanges) throws IOException, SchedulerDynamicEditException
queueManagementChanges - QueueManagementChange List.IOException - an I/O exception has occurred.SchedulerDynamicEditException - when validate and apply QueueManagementChanges fails.public void validateQueueManagementChanges(List<QueueManagementChange> queueManagementChanges) throws SchedulerDynamicEditException
SchedulerDynamicEditExceptionpublic CapacitySchedulerConfiguration getLeafQueueConfigs(String leafQueueName)
public CapacitySchedulerConfiguration getLeafQueueConfigs(CapacitySchedulerConfiguration templateConfig, String leafQueueName)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.