Package | Description |
---|---|
org.apache.storm.scheduler.resource | |
org.apache.storm.scheduler.resource.strategies.scheduling | |
org.apache.storm.scheduler.resource.strategies.scheduling.sorter |
Modifier and Type | Method and Description |
---|---|
RasNode |
RasNodes.getNodeById(String nodeId)
get node object from nodeId.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,RasNode> |
RasNodes.getAllNodesFrom(Cluster cluster) |
Map<String,List<RasNode>> |
RasNodes.getHostnameToNodes()
Get a map with list of RasNode for each hostname.
|
Collection<RasNode> |
RasNodes.getNodes() |
Modifier and Type | Method and Description |
---|---|
int |
RasNode.compareTo(RasNode o) |
Modifier and Type | Method and Description |
---|---|
RasNode |
BaseResourceAwareStrategy.idToNode(String id)
Find RASNode for specified node id.
|
Modifier and Type | Method and Description |
---|---|
List<RasNode> |
BaseResourceAwareStrategy.hostnameToNodes(String hostname)
hostname to Ids.
|
Modifier and Type | Method and Description |
---|---|
void |
SchedulingSearcherState.assignCurrentExecutor(Map<ExecutorDetails,String> execToComp,
RasNode node,
WorkerSlot workerSlot)
Attempt to assign current executor (execIndex points to) to worker and node.
|
void |
SchedulingSearcherState.assignSingleBoundAcker(RasNode node,
WorkerSlot workerSlot)
Remove the head of unassigned ackers and attempt to assign it to a workerSlot as a bound acker.
|
void |
SchedulingSearcherState.backtrack(Map<ExecutorDetails,String> execToComp,
RasNode node,
WorkerSlot workerSlot) |
void |
SchedulingSearcherState.freeWorkerSlotWithBoundAckers(RasNode node,
WorkerSlot workerSlot)
Free a given workerSlot and all the assigned bound ackers already there.
|
int |
SchedulingSearcherState.getComponentCntOnNode(RasNode rasNode,
String comp) |
Constructor and Description |
---|
SchedulingSearcherState(Map<WorkerSlot,Map<String,Integer>> workerCompAssignmentCnts,
Map<RasNode,Map<String,Integer>> nodeCompAssignmentCnts,
int maxStatesSearched,
long maxTimeMs,
List<ExecutorDetails> execs,
LinkedList<ExecutorDetails> unassignedAckers,
TopologyDetails td,
Map<ExecutorDetails,String> execToComp) |
Modifier and Type | Method and Description |
---|---|
List<RasNode> |
NodeSorterHostProximity.hostnameToNodes(String hostname)
hostname to Ids.
|
List<RasNode> |
NodeSorter.hostnameToNodes(String hostname)
hostname to Ids.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.