Class CapacitySchedulerQueueContext
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerQueueContext
Class to store common queue related information, like instances
to necessary manager classes or the global CapacityScheduler
configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetApplicationAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.PendingApplicationComparatororg.apache.hadoop.yarn.api.records.Resourcelongorg.apache.hadoop.yarn.api.records.ResourcegetNode(org.apache.hadoop.yarn.api.records.NodeId nodeId) org.apache.hadoop.yarn.util.resource.ResourceCalculatorvoidvoidsetConfigurationEntry(String name, String value)
-
Constructor Details
-
CapacitySchedulerQueueContext
-
-
Method Details
-
reinitialize
public void reinitialize() -
getQueueManager
-
getLabelManager
-
getPreemptionManager
-
getActivitiesManager
-
getResourceCalculator
public org.apache.hadoop.yarn.util.resource.ResourceCalculator getResourceCalculator() -
getConfiguration
-
setConfigurationEntry
-
getMinimumAllocation
public org.apache.hadoop.yarn.api.records.Resource getMinimumAllocation() -
getClusterResource
public org.apache.hadoop.yarn.api.records.Resource getClusterResource() -
getClusterResourceUsage
-
getSchedulerHealth
-
getLastNodeUpdateTime
public long getLastNodeUpdateTime() -
getNode
-
getApplicationAttempt
public FiCaSchedulerApp getApplicationAttempt(org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId) -
getApplicationComparator
public org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.PendingApplicationComparator getApplicationComparator()
-