Class CapacitySchedulerLeafQueueInfo
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.CapacitySchedulerQueueInfo
org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.CapacitySchedulerLeafQueueInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ResourceInfoprotected floatprotected longprotected intprotected booleanprotected booleanprotected longprotected intprotected intprotected intprotected intprotected intprotected Stringprotected booleanprotected ResourceInfoprotected ResourceInfoprotected floatprotected floatprotected UsersInfoFields inherited from class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.CapacitySchedulerQueueInfo
absoluteCapacity, absoluteMaxCapacity, absoluteUsedCapacity, allocatedContainers, autoCreateChildQueueEnabled, autoCreationEligibility, autoQueueLeafTemplateProperties, autoQueueParentTemplateProperties, autoQueueTemplateProperties, capacities, capacity, creationMethod, defaultNodeLabelExpression, isAbsoluteResource, leafQueueTemplate, maxCapacity, maxEffectiveCapacity, maximumAllocation, maxParallelApps, minEffectiveCapacity, mode, nodeLabels, normalizedWeight, numApplications, orderingPolicyInfo, pendingContainers, queueAcls, queueName, queuePath, queuePriority, queues, queueType, reservedContainers, resources, resourcesUsed, state, usedCapacity, weight -
Method Summary
Modifier and TypeMethodDescriptionfloatlongintbooleanlongintintintintintbooleanfloatfloatgetUsers()booleanprotected voidpopulateQueueCapacities(CSQueue queue) protected voidpopulateQueueResourceUsage(ResourceUsage queueResourceUsage) Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.CapacitySchedulerQueueInfo
getAbsoluteCapacity, getAbsoluteMaxCapacity, getAbsoluteUsedCapacity, getAllocatedContainers, getCapacities, getCapacity, getDefaultNodeLabelExpression, getLeafQueueTemplate, getMaxCapacity, getMaxEffectiveCapacity, getMaximumAllocation, getMaxParallelApps, getMinEffectiveCapacity, getMode, getNodeLabels, getNormalizedWeight, getNumApplications, getOrderingPolicyInfo, getPendingContainers, getPriority, getQueueAcls, getQueueName, getQueuePath, getQueues, getQueueState, getQueueType, getReservedContainers, getResources, getResourcesUsed, getSortedQueueAclInfoList, getUsedCapacity, getWeight, isAbsoluteResource, isAutoCreateChildQueueEnabled, isLeafQueue
-
Field Details
-
numActiveApplications
protected int numActiveApplications -
numPendingApplications
protected int numPendingApplications -
numContainers
protected int numContainers -
maxApplications
protected int maxApplications -
maxApplicationsPerUser
protected int maxApplicationsPerUser -
userLimit
protected float userLimit -
users
-
userLimitFactor
protected float userLimitFactor -
configuredMaxAMResourceLimit
protected float configuredMaxAMResourceLimit -
AMResourceLimit
-
usedAMResource
-
userAMResourceLimit
-
preemptionDisabled
protected boolean preemptionDisabled -
intraQueuePreemptionDisabled
protected boolean intraQueuePreemptionDisabled -
defaultPriority
protected int defaultPriority -
isAutoCreatedLeafQueue
protected boolean isAutoCreatedLeafQueue -
maxApplicationLifetime
protected long maxApplicationLifetime -
defaultApplicationLifetime
protected long defaultApplicationLifetime -
orderingPolicyDisplayName
-
-
Method Details
-
populateQueueResourceUsage
- Overrides:
populateQueueResourceUsagein classCapacitySchedulerQueueInfo
-
populateQueueCapacities
- Overrides:
populateQueueCapacitiesin classCapacitySchedulerQueueInfo
-
getNumActiveApplications
public int getNumActiveApplications() -
getNumPendingApplications
public int getNumPendingApplications() -
getNumContainers
public int getNumContainers() -
getMaxApplications
public int getMaxApplications() -
getMaxApplicationsPerUser
public int getMaxApplicationsPerUser() -
getUserLimit
public float getUserLimit() -
getUsers
-
getUserLimitFactor
public float getUserLimitFactor() -
getConfiguredMaxAMResourceLimit
public float getConfiguredMaxAMResourceLimit() -
getAMResourceLimit
-
getUsedAMResource
-
getUserAMResourceLimit
-
getPreemptionDisabled
public boolean getPreemptionDisabled() -
getIntraQueuePreemptionDisabled
public boolean getIntraQueuePreemptionDisabled() -
getOrderingPolicyDisplayName
-
getDefaultApplicationPriority
public int getDefaultApplicationPriority() -
isAutoCreatedLeafQueue
public boolean isAutoCreatedLeafQueue() -
getDefaultApplicationLifetime
public long getDefaultApplicationLifetime() -
getMaxApplicationLifetime
public long getMaxApplicationLifetime()
-