public class FifoCandidatesSelector extends PreemptionCandidatesSelector
preemptionContext, rc| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getAllowQueuesBalanceAfterAllQueuesSatisfied() |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> |
selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates,
org.apache.hadoop.yarn.api.records.Resource clusterResource,
org.apache.hadoop.yarn.api.records.Resource totalPreemptionAllowed) |
Get preemption candidates from computed resource sharing and already
selected candidates.
|
getMaximumKillWaitTimeMs, setMaximumKillWaitTimepublic java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectCandidates(java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAttemptId,java.util.Set<RMContainer>> selectedCandidates, org.apache.hadoop.yarn.api.records.Resource clusterResource, org.apache.hadoop.yarn.api.records.Resource totalPreemptionAllowed)
PreemptionCandidatesSelectorselectCandidates in class PreemptionCandidatesSelectorselectedCandidates - already selected candidates from previous policiesclusterResource - total resourcetotalPreemptionAllowed - how many resources allowed to be
preempted in this round. Should be
updated(in-place set) after the callpublic boolean getAllowQueuesBalanceAfterAllQueuesSatisfied()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.