@Internal public class JobSchedulingPlan extends Object
JobGraph.
vertexParallelism is necessary to create ExecutionGraph
slotAssignments are used to schedule it onto the cluster
AdaptiveScheduler passes this structure from WaitingForResources to CreatingExecutionGraph stages.| 限定符和类型 | 类和说明 |
|---|---|
static class |
JobSchedulingPlan.SlotAssignment
Assignment of a slot to some target (e.g. a slot sharing group).
|
| 构造器和说明 |
|---|
JobSchedulingPlan(VertexParallelism vertexParallelism,
Collection<JobSchedulingPlan.SlotAssignment> slotAssignments) |
| 限定符和类型 | 方法和说明 |
|---|---|
static JobSchedulingPlan |
empty()
Create an empty
JobSchedulingPlan with no information about vertices or allocations. |
Collection<JobSchedulingPlan.SlotAssignment> |
getSlotAssignments() |
VertexParallelism |
getVertexParallelism() |
String |
toString() |
public JobSchedulingPlan(VertexParallelism vertexParallelism, Collection<JobSchedulingPlan.SlotAssignment> slotAssignments)
public VertexParallelism getVertexParallelism()
public Collection<JobSchedulingPlan.SlotAssignment> getSlotAssignments()
public static JobSchedulingPlan empty()
JobSchedulingPlan with no information about vertices or allocations.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.