public class RoundRobinResourceAwareStrategy extends BaseResourceAwareStrategy
BaseResourceAwareStrategy.NodeSortTypecluster, compToExecs, config, execSorter, execToComp, nodes, nodeSorter, nodeSortType, orderExecutorsByProximity, searcherState, sortNodesForEachExecutor, topologyDetails, topoName| Constructor and Description |
|---|
RoundRobinResourceAwareStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected SchedulingResult |
scheduleExecutorsOnNodes(List<ExecutorDetails> orderedExecutors,
Iterable<String> sortedNodesIterable)
For each component try to schedule executors in sequence on the nodes.
|
assignBoundAckersForNewWorkerSlot, checkSchedulingFeasibility, getMaxStateSearchFromTopoConf, hostnameToNodes, idToNode, isExecAssignmentToWorkerValid, isOrderByProximity, prepare, prepareForScheduling, schedule, setExecSorter, setNodeSorterprotected SchedulingResult scheduleExecutorsOnNodes(List<ExecutorDetails> orderedExecutors, Iterable<String> sortedNodesIterable)
scheduleExecutorsOnNodes in class BaseResourceAwareStrategyorderedExecutors - Executors sorted in the preferred order cannot be nullsortedNodesIterable - Node iterable which cannot be null, relies on behavior when BaseResourceAwareStrategy.sortNodesForEachExecutor is falseCopyright © 2023 The Apache Software Foundation. All rights reserved.