Class CapacitySchedulerQueueInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.CapacitySchedulerQueueInfo
- Direct Known Subclasses:
CapacitySchedulerLeafQueueInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected longprotected booleanprotected Stringprotected AutoQueueTemplatePropertiesInfoprotected AutoQueueTemplatePropertiesInfoprotected AutoQueueTemplatePropertiesInfoprotected QueueCapacitiesInfoprotected floatprotected Stringprotected Stringprotected booleanprotected LeafQueueTemplateInfoprotected floatprotected ResourceInfoprotected ResourceInfoprotected intprotected ResourceInfoprotected Stringprotected floatprotected intprotected Stringprotected longprotected QueueAclsInfoprotected Stringprotected Stringprotected intprotected CapacitySchedulerQueueInfoListprotected Stringprotected longprotected ResourcesInfoprotected ResourceInfoprotected org.apache.hadoop.yarn.api.records.QueueStateprotected floatprotected float -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatlongfloatfloatintgetMode()floatintlongintlongstatic ArrayList<QueueAclInfo>getSortedQueueAclInfoList(CSQueue queue, QueuePath queuePath, CapacitySchedulerConfiguration conf) floatfloatbooleanbooleanbooleanprotected voidpopulateQueueCapacities(CSQueue queue) protected voidpopulateQueueResourceUsage(ResourceUsage queueResourceUsage)
-
Field Details
-
queuePath
-
capacity
protected float capacity -
usedCapacity
protected float usedCapacity -
maxCapacity
protected float maxCapacity -
absoluteCapacity
protected float absoluteCapacity -
absoluteMaxCapacity
protected float absoluteMaxCapacity -
absoluteUsedCapacity
protected float absoluteUsedCapacity -
weight
protected float weight -
normalizedWeight
protected float normalizedWeight -
numApplications
protected int numApplications -
maxParallelApps
protected int maxParallelApps -
queueName
-
isAbsoluteResource
protected boolean isAbsoluteResource -
state
protected org.apache.hadoop.yarn.api.records.QueueState state -
queues
-
resourcesUsed
-
nodeLabels
-
allocatedContainers
protected long allocatedContainers -
reservedContainers
protected long reservedContainers -
pendingContainers
protected long pendingContainers -
capacities
-
resources
-
minEffectiveCapacity
-
maxEffectiveCapacity
-
maximumAllocation
-
queueAcls
-
queuePriority
protected int queuePriority -
orderingPolicyInfo
-
autoCreateChildQueueEnabled
protected boolean autoCreateChildQueueEnabled -
leafQueueTemplate
-
mode
-
queueType
-
creationMethod
-
autoCreationEligibility
-
defaultNodeLabelExpression
-
autoQueueTemplateProperties
-
autoQueueParentTemplateProperties
-
autoQueueLeafTemplateProperties
-
-
Method Details
-
getSortedQueueAclInfoList
public static ArrayList<QueueAclInfo> getSortedQueueAclInfoList(CSQueue queue, QueuePath queuePath, CapacitySchedulerConfiguration conf) -
populateQueueResourceUsage
-
populateQueueCapacities
-
getCapacity
public float getCapacity() -
getUsedCapacity
public float getUsedCapacity() -
getMaxCapacity
public float getMaxCapacity() -
getAbsoluteCapacity
public float getAbsoluteCapacity() -
getAbsoluteMaxCapacity
public float getAbsoluteMaxCapacity() -
getAbsoluteUsedCapacity
public float getAbsoluteUsedCapacity() -
getNumApplications
public int getNumApplications() -
getAllocatedContainers
public long getAllocatedContainers() -
getReservedContainers
public long getReservedContainers() -
getPendingContainers
public long getPendingContainers() -
isAbsoluteResource
public boolean isAbsoluteResource() -
getQueueName
-
getQueueState
-
getQueuePath
-
getQueues
-
getResourcesUsed
-
getNodeLabels
-
getCapacities
-
getResources
-
getMinEffectiveCapacity
-
getMaxEffectiveCapacity
-
getMaximumAllocation
-
getQueueAcls
-
getPriority
public int getPriority() -
getOrderingPolicyInfo
-
isLeafQueue
public boolean isLeafQueue() -
isAutoCreateChildQueueEnabled
public boolean isAutoCreateChildQueueEnabled() -
getLeafQueueTemplate
-
getMode
-
getQueueType
-
getWeight
public float getWeight() -
getNormalizedWeight
public float getNormalizedWeight() -
getMaxParallelApps
public int getMaxParallelApps() -
getDefaultNodeLabelExpression
-