public class ReservationQueue extends LeafQueue
LeafQueue managed by the
ReservationSystemLeafQueue.UsermaxApplications, maxApplicationsPerUserauthorizer, csContext, queueEntity| 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, attachContainer, calculateAndGetAMResourceLimit, calculateAndGetAMResourceLimitPerPartition, canAssignToUser, collectSchedulerApplications, completedContainer, decAMUsedResource, decreaseContainer, decUsedResource, detachContainer, finishApplication, finishApplicationAttempt, getActiveUsersManager, getAllApplications, getAMResourceLimit, getAMResourceLimitPerPartition, getApplications, getChildQueues, getDefaultApplicationPriority, getHeadroom, getHeadroom, getIgnoreExclusivityRMContainers, getMaxAMResourcePerQueuePercent, getMaxApplications, getMaxApplicationsPerUser, getMinimumAllocationFactor, getNodeLocalityDelay, getNumActiveApplications, getNumActiveApplications, getNumApplications, getNumApplications, getNumPendingApplications, getNumPendingApplications, getOrderingPolicy, getPendingApplications, getPendingAppsOrderingPolicy, getQueueInfo, getQueuePath, getQueueUserAclInfo, getRackLocalityFullReset, getState, getTotalPendingResourcesConsideringUserLimit, getUsageRatio, getUser, getUserAMResourceLimit, getUserAMResourceLimitPerPartition, getUserLimit, getUserLimitFactor, getUserLimitPerUser, getUsers, incAMUsedResource, incUsedResource, recoverContainer, removeApplicationAttempt, setAbsoluteCapacity, setCapacity, setMaxApplications, setNodeLabelManager, setOrderingPolicy, setupQueueConfigs, submitApplication, submitApplicationAttempt, toString, unreserveIncreasedContainer, updateClusterResourceaccessibleToPartition, decPendingResource, decReservedResource, getAbsoluteCapacity, getAbsoluteMaximumCapacity, getAbsoluteUsedCapacity, getAccessibleNodeLabels, getACLs, getCapacity, getDefaultNodeLabelExpression, getKillableContainers, getMaximumAllocation, getMaximumCapacity, getMetrics, getMinimumAllocation, getNodeLabelsForQueue, getNumContainers, getParent, getPreemptionDisabled, getPrivilegedEntity, getQueueCapacities, getQueueInfo, getQueueName, getQueueResourceUsage, getQueueStatistics, getReservationContinueLooking, getTotalKillableResource, getUsedCapacity, getUsedResources, hasAccess, incPendingResource, incReservedResource, 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 © 2017 Apache Software Foundation. All Rights Reserved.