Uses of Interface
org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.CapacitySchedulerPreemptionContext
Packages that use CapacitySchedulerPreemptionContext
-
Uses of CapacitySchedulerPreemptionContext in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity
Classes in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity that implement CapacitySchedulerPreemptionContextModifier and TypeClassDescriptionclassThis class implement aSchedulingEditPolicythat is designed to be paired with theCapacityScheduler.Fields in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity declared as CapacitySchedulerPreemptionContextModifier and TypeFieldDescriptionprotected final CapacitySchedulerPreemptionContextAbstractPreemptableResourceCalculator.contextprotected final CapacitySchedulerPreemptionContextFifoIntraQueuePreemptionPlugin.contextprotected CapacitySchedulerPreemptionContextPreemptionCandidatesSelector.preemptionContextMethods in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity with parameters of type CapacitySchedulerPreemptionContextModifier and TypeMethodDescriptionstatic voidCapacitySchedulerPreemptionUtils.deductPreemptableResourcesBasedSelectedCandidates(CapacitySchedulerPreemptionContext context, Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId, Set<RMContainer>> selectedCandidates) CapacitySchedulerPreemptionUtils.getResToObtainByPartitionForLeafQueue(CapacitySchedulerPreemptionContext context, String queueName, org.apache.hadoop.yarn.api.records.Resource clusterResource) static booleanCapacitySchedulerPreemptionUtils.tryPreemptContainerAndDeductResToObtain(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc, CapacitySchedulerPreemptionContext context, Map<String, org.apache.hadoop.yarn.api.records.Resource> resourceToObtainByPartitions, RMContainer rmContainer, org.apache.hadoop.yarn.api.records.Resource clusterResource, Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId, Set<RMContainer>> preemptMap, Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId, Set<RMContainer>> curCandidates, org.apache.hadoop.yarn.api.records.Resource totalPreemptionAllowed, boolean conservativeDRF) Invoke this method to preempt container based on resToObtain.Constructors in org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity with parameters of type CapacitySchedulerPreemptionContextModifierConstructorDescriptionAbstractPreemptableResourceCalculator(CapacitySchedulerPreemptionContext preemptionContext, boolean isReservedPreemptionCandidatesSelector, boolean allowQueuesBalanceAfterAllQueuesSatisfied) PreemptableResourceCalculator constructor.FifoIntraQueuePreemptionPlugin(org.apache.hadoop.yarn.util.resource.ResourceCalculator rc, CapacitySchedulerPreemptionContext preemptionContext) PreemptableResourceCalculator(CapacitySchedulerPreemptionContext preemptionContext, boolean isReservedPreemptionCandidatesSelector, boolean allowQueuesBalanceAfterAllQueuesSatisfied) PreemptableResourceCalculator constructor.