public class ReservationQueue extends LeafQueue
LeafQueue managed by the
ReservationSystemLeafQueue.UserQueue.QueueLabelPolicymaxApplications, maxApplicationsPerUserauthorizer, csContext, queueEntityLABEL_NONE| Constructor and Description |
|---|
ReservationQueue(CapacitySchedulerContext cs,
String queueName,
PlanQueue parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
reinitialize(CSQueue newlyParsedQueue,
org.apache.hadoop.yarn.api.records.Resource clusterResource)
Reinitialize the queue.
|
void |
setEntitlement(QueueEntitlement entitlement)
This methods to change capacity for a queue and adjusts its
absoluteCapacity
|
protected void |
setupConfigurableCapacities() |
assignContainers, assignToUser, attachContainer, checkLimitsToReserve, collectSchedulerApplications, completedContainer, detachContainer, findNodeToUnreserve, finishApplication, finishApplicationAttempt, getActiveUsersManager, getAMResourceLimit, getApplications, getChildQueues, getHeadroom, getLabel, getLabelPolicy, getMaxAMResourcePerQueuePercent, getMaxApplications, getMaxApplicationsPerUser, getMinimumAllocationFactor, getNodeLocalityDelay, getNumActiveApplications, getNumActiveApplications, getNumApplications, getNumApplications, getNumContainers, getNumPendingApplications, getNumPendingApplications, getQueueInfo, getQueuePath, getQueueUserAclInfo, getState, getTotalResourcePending, getUser, getUserAMResourceLimit, getUserLimit, getUserLimitFactor, getUsers, recoverContainer, removeApplicationAttempt, setAbsoluteCapacity, setCapacity, setMaxApplications, setNodeLabelManager, setupQueueConfigs, submitApplication, submitApplicationAttempt, toString, updateClusterResourcegetAbsoluteCapacity, getAbsoluteMaximumCapacity, getAbsoluteUsedCapacity, getAccessibleNodeLabels, getACLs, getCapacity, getCurrentResourceLimit, getDefaultNodeLabelExpression, getMaximumAllocation, getMaximumCapacity, getMetrics, getMinimumAllocation, getParent, getPreemptionDisabled, getPrivilegedEntity, getQueueCapacities, getQueueInfo, getQueueName, getQueueResourceUsage, getReservationContinueLooking, getUsedCapacity, getUsedResources, hasAccess, releaseResource, setAbsoluteUsedCapacity, setParent, setUsedCapacitypublic ReservationQueue(CapacitySchedulerContext cs, String queueName, PlanQueue parent) throws IOException
IOExceptionpublic void reinitialize(CSQueue newlyParsedQueue, org.apache.hadoop.yarn.api.records.Resource clusterResource) throws IOException
CSQueuereinitialize in interface CSQueuereinitialize in class LeafQueuenewlyParsedQueue - new queue to re-initalize fromclusterResource - resources in the clusterIOExceptionpublic void setEntitlement(QueueEntitlement entitlement) throws SchedulerDynamicEditException
entitlement - the new entitlement for the queue (capacity,
maxCapacity, etc..)SchedulerDynamicEditExceptionprotected void setupConfigurableCapacities()
setupConfigurableCapacities in class AbstractCSQueueCopyright © 2016 Apache Software Foundation. All Rights Reserved.