| Modifier and Type | Method and Description |
|---|---|
Set<InternalNode> |
SqlStageExecution.getScheduledNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeTaskMap.addTask(InternalNode node,
RemoteTask task) |
URI |
LocationFactory.createMemoryInfoLocation(InternalNode node) |
NodeTaskMap.PartitionedSplitCountTracker |
NodeTaskMap.createPartitionedSplitCountTracker(InternalNode node,
TaskId taskId) |
RemoteTask |
RemoteTaskFactory.createRemoteTask(Session session,
TaskId taskId,
InternalNode node,
PlanFragment fragment,
com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits,
OptionalInt totalPartitions,
OutputBuffers outputBuffers,
NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker,
boolean summarizeTaskInfo) |
RemoteTask |
MemoryTrackingRemoteTaskFactory.createRemoteTask(Session session,
TaskId taskId,
InternalNode node,
PlanFragment fragment,
com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits,
OptionalInt totalPartitions,
OutputBuffers outputBuffers,
NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker,
boolean summarizeTaskInfo) |
URI |
LocationFactory.createTaskLocation(InternalNode node,
TaskId taskId) |
int |
NodeTaskMap.getPartitionedSplitsOnNode(InternalNode node) |
Set<RemoteTask> |
SqlStageExecution.scheduleSplits(InternalNode node,
com.google.common.collect.Multimap<PlanNodeId,Split> splits,
com.google.common.collect.Multimap<PlanNodeId,Lifespan> noMoreSplitsNotification) |
Optional<RemoteTask> |
SqlStageExecution.scheduleTask(InternalNode node,
int partition,
OptionalInt totalPartitions) |
| Modifier and Type | Method and Description |
|---|---|
InternalNode |
FixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy.getNodeForBucket(int bucketId) |
InternalNode |
TopologyAwareNodeSelector.selectCurrentNode() |
InternalNode |
SimpleNodeSelector.selectCurrentNode() |
InternalNode |
NodeSelector.selectCurrentNode() |
| Modifier and Type | Method and Description |
|---|---|
List<InternalNode> |
FixedSourcePartitionedScheduler.BucketedSplitPlacementPolicy.allNodes() |
List<InternalNode> |
TopologyAwareNodeSelector.allNodes() |
List<InternalNode> |
SplitPlacementPolicy.allNodes() |
List<InternalNode> |
SimpleNodeSelector.allNodes() |
List<InternalNode> |
DynamicSplitPlacementPolicy.allNodes() |
List<InternalNode> |
NodeSelector.allNodes() |
abstract Optional<InternalNode> |
BucketNodeMap.getAssignedNode(int bucketedId) |
Optional<InternalNode> |
FixedBucketNodeMap.getAssignedNode(int bucketedId) |
Optional<InternalNode> |
BucketNodeMap.getAssignedNode(Split split) |
com.google.common.collect.Multimap<InternalNode,Split> |
SplitPlacementResult.getAssignments() |
com.google.common.collect.SetMultimap<InetAddress,InternalNode> |
NodeMap.getNodesByHost() |
com.google.common.collect.SetMultimap<HostAddress,InternalNode> |
NodeMap.getNodesByHostAndPort() |
com.google.common.collect.SetMultimap<NetworkLocation,InternalNode> |
NodeMap.getWorkersByNetworkPath() |
static ResettableRandomizedIterator<InternalNode> |
NodeScheduler.randomizedNodes(NodeMap nodeMap,
boolean includeCoordinator,
Set<InternalNode> excludedNodes) |
static List<InternalNode> |
NodeScheduler.selectExactNodes(NodeMap nodeMap,
List<HostAddress> hosts,
boolean includeCoordinator) |
static List<InternalNode> |
NodeScheduler.selectNodes(int limit,
Iterator<InternalNode> candidates) |
default List<InternalNode> |
NodeSelector.selectRandomNodes(int limit) |
List<InternalNode> |
TopologyAwareNodeSelector.selectRandomNodes(int limit,
Set<InternalNode> excludedNodes) |
List<InternalNode> |
SimpleNodeSelector.selectRandomNodes(int limit,
Set<InternalNode> excludedNodes) |
List<InternalNode> |
NodeSelector.selectRandomNodes(int limit,
Set<InternalNode> excludedNodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
NodeAssignmentStats.addAssignedSplit(InternalNode node) |
abstract void |
BucketNodeMap.assignBucketToNode(int bucketedId,
InternalNode node) |
void |
FixedBucketNodeMap.assignBucketToNode(int bucketedId,
InternalNode node) |
int |
NodeAssignmentStats.getQueuedSplitCountForStage(InternalNode node) |
int |
NodeAssignmentStats.getTotalSplitCount(InternalNode node) |
Optional<RemoteTask> |
FixedCountScheduler.TaskScheduler.scheduleTask(InternalNode node,
int partition,
OptionalInt totalPartitions) |
| Modifier and Type | Method and Description |
|---|---|
static ResettableRandomizedIterator<InternalNode> |
NodeScheduler.randomizedNodes(NodeMap nodeMap,
boolean includeCoordinator,
Set<InternalNode> excludedNodes) |
static List<InternalNode> |
NodeScheduler.selectNodes(int limit,
Iterator<InternalNode> candidates) |
List<InternalNode> |
TopologyAwareNodeSelector.selectRandomNodes(int limit,
Set<InternalNode> excludedNodes) |
List<InternalNode> |
SimpleNodeSelector.selectRandomNodes(int limit,
Set<InternalNode> excludedNodes) |
List<InternalNode> |
NodeSelector.selectRandomNodes(int limit,
Set<InternalNode> excludedNodes) |
static com.google.common.util.concurrent.ListenableFuture<?> |
NodeScheduler.toWhenHasSplitQueueSpaceFuture(Set<InternalNode> blockedNodes,
List<RemoteTask> existingTasks,
int spaceThreshold) |
| Constructor and Description |
|---|
BucketedSplitPlacementPolicy(NodeSelector nodeSelector,
List<InternalNode> allNodes,
BucketNodeMap bucketNodeMap,
Supplier<? extends List<RemoteTask>> remoteTasks) |
FixedBucketNodeMap(ToIntFunction<Split> splitToBucket,
List<InternalNode> bucketToNode) |
FixedCountScheduler(FixedCountScheduler.TaskScheduler taskScheduler,
List<InternalNode> partitionToNode) |
FixedCountScheduler(SqlStageExecution stage,
List<InternalNode> partitionToNode) |
FixedSourcePartitionedScheduler(SqlStageExecution stage,
Map<PlanNodeId,SplitSource> splitSources,
StageExecutionDescriptor stageExecutionDescriptor,
List<PlanNodeId> schedulingOrder,
List<InternalNode> nodes,
BucketNodeMap bucketNodeMap,
int splitBatchSize,
OptionalInt concurrentLifespansPerTask,
NodeSelector nodeSelector,
List<ConnectorPartitionHandle> partitionHandles) |
NodeMap(com.google.common.collect.SetMultimap<HostAddress,InternalNode> nodesByHostAndPort,
com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost,
com.google.common.collect.SetMultimap<NetworkLocation,InternalNode> workersByNetworkPath,
Set<String> coordinatorNodeIds) |
NodeMap(com.google.common.collect.SetMultimap<HostAddress,InternalNode> nodesByHostAndPort,
com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost,
com.google.common.collect.SetMultimap<NetworkLocation,InternalNode> workersByNetworkPath,
Set<String> coordinatorNodeIds) |
NodeMap(com.google.common.collect.SetMultimap<HostAddress,InternalNode> nodesByHostAndPort,
com.google.common.collect.SetMultimap<InetAddress,InternalNode> nodesByHost,
com.google.common.collect.SetMultimap<NetworkLocation,InternalNode> workersByNetworkPath,
Set<String> coordinatorNodeIds) |
SplitPlacementResult(com.google.common.util.concurrent.ListenableFuture<?> blocked,
com.google.common.collect.Multimap<InternalNode,Split> assignments) |
| Modifier and Type | Method and Description |
|---|---|
Optional<InternalNode> |
DynamicBucketNodeMap.getAssignedNode(int bucketedId) |
| Modifier and Type | Method and Description |
|---|---|
void |
DynamicBucketNodeMap.assignBucketToNode(int bucketedId,
InternalNode node) |
| Constructor and Description |
|---|
DynamicLifespanScheduler(BucketNodeMap bucketNodeMap,
List<InternalNode> allNodes,
List<ConnectorPartitionHandle> partitionHandles,
OptionalInt concurrentLifespansPerTask) |
| Modifier and Type | Method and Description |
|---|---|
InternalNode |
RemoteNodeMemory.getNode() |
| Constructor and Description |
|---|
RemoteNodeMemory(InternalNode node,
io.airlift.http.client.HttpClient httpClient,
io.airlift.json.JsonCodec<MemoryInfo> memoryInfoCodec,
io.airlift.json.JsonCodec<MemoryPoolAssignmentsRequest> assignmentsRequestJsonCodec,
URI memoryInfoUri) |
| Modifier and Type | Method and Description |
|---|---|
InternalNode |
DiscoveryNodeManager.getCurrentNode() |
InternalNode |
InternalNodeManager.getCurrentNode() |
InternalNode |
InMemoryNodeManager.getCurrentNode() |
| Modifier and Type | Method and Description |
|---|---|
Set<InternalNode> |
DiscoveryNodeManager.getActiveConnectorNodes(CatalogName catalogName) |
Set<InternalNode> |
InternalNodeManager.getActiveConnectorNodes(CatalogName catalogName) |
Set<InternalNode> |
InMemoryNodeManager.getActiveConnectorNodes(CatalogName catalogName) |
Set<InternalNode> |
AllNodes.getActiveCoordinators() |
Set<InternalNode> |
AllNodes.getActiveNodes() |
Set<InternalNode> |
DiscoveryNodeManager.getCoordinators() |
Set<InternalNode> |
InternalNodeManager.getCoordinators() |
Set<InternalNode> |
InMemoryNodeManager.getCoordinators() |
Set<InternalNode> |
AllNodes.getInactiveNodes() |
Set<InternalNode> |
DiscoveryNodeManager.getNodes(NodeState state) |
Set<InternalNode> |
InternalNodeManager.getNodes(NodeState state) |
Set<InternalNode> |
InMemoryNodeManager.getNodes(NodeState state) |
Set<InternalNode> |
AllNodes.getShuttingDownNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryNodeManager.addNode(CatalogName catalogName,
InternalNode... nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryNodeManager.addNode(CatalogName catalogName,
Iterable<InternalNode> nodes) |
| Constructor and Description |
|---|
AllNodes(Set<InternalNode> activeNodes,
Set<InternalNode> inactiveNodes,
Set<InternalNode> shuttingDownNodes,
Set<InternalNode> activeCoordinators) |
AllNodes(Set<InternalNode> activeNodes,
Set<InternalNode> inactiveNodes,
Set<InternalNode> shuttingDownNodes,
Set<InternalNode> activeCoordinators) |
AllNodes(Set<InternalNode> activeNodes,
Set<InternalNode> inactiveNodes,
Set<InternalNode> shuttingDownNodes,
Set<InternalNode> activeCoordinators) |
AllNodes(Set<InternalNode> activeNodes,
Set<InternalNode> inactiveNodes,
Set<InternalNode> shuttingDownNodes,
Set<InternalNode> activeCoordinators) |
| Modifier and Type | Method and Description |
|---|---|
RemoteTask |
HttpRemoteTaskFactory.createRemoteTask(Session session,
TaskId taskId,
InternalNode node,
PlanFragment fragment,
com.google.common.collect.Multimap<PlanNodeId,Split> initialSplits,
OptionalInt totalPartitions,
OutputBuffers outputBuffers,
NodeTaskMap.PartitionedSplitCountTracker partitionedSplitCountTracker,
boolean summarizeTaskInfo) |
| Modifier and Type | Method and Description |
|---|---|
URI |
HttpLocationFactory.createMemoryInfoLocation(InternalNode node) |
URI |
HttpLocationFactory.createTaskLocation(InternalNode node,
TaskId taskId) |
| Modifier and Type | Method and Description |
|---|---|
Set<InternalNode> |
TestingPrestoServer.getActiveNodesWithConnector(CatalogName catalogName) |
| Modifier and Type | Method and Description |
|---|---|
InternalNode |
NodePartitionMap.getNode(Split split) |
| Modifier and Type | Method and Description |
|---|---|
List<InternalNode> |
NodePartitionMap.getPartitionToNode() |
| Constructor and Description |
|---|
NodePartitionMap(List<InternalNode> partitionToNode,
int[] bucketToPartition,
ToIntFunction<Split> splitToBucket) |
NodePartitionMap(List<InternalNode> partitionToNode,
ToIntFunction<Split> splitToBucket) |
Copyright © 2012–2019. All rights reserved.