| Modifier and Type | Method and Description |
|---|---|
static String |
JsonPlanGenerator.generatePlan(org.apache.flink.api.common.JobID jobID,
String jobName,
JobType jobType,
Iterable<JobVertex> vertices,
VertexParallelism vertexParallelism) |
| Modifier and Type | Method and Description |
|---|---|
VertexParallelism |
JobSchedulingPlan.getVertexParallelism() |
| Constructor and Description |
|---|
JobSchedulingPlan(VertexParallelism vertexParallelism,
Collection<JobSchedulingPlan.SlotAssignment> slotAssignments) |
| Modifier and Type | Method and Description |
|---|---|
static VertexParallelism |
VertexParallelism.empty() |
| Modifier and Type | Method and Description |
|---|---|
Optional<VertexParallelism> |
SlotAllocator.determineParallelism(JobInformation jobInformation,
Collection<? extends SlotInfo> slots)
Determines the parallelism at which the vertices could be scheduled given the collection of
slots.
|
Optional<VertexParallelism> |
SlotSharingSlotAllocator.determineParallelism(JobInformation jobInformation,
Collection<? extends SlotInfo> freeSlots) |
| Modifier and Type | Method and Description |
|---|---|
Collection<JobSchedulingPlan.SlotAssignment> |
DefaultSlotAssigner.assignSlots(JobInformation jobInformation,
Collection<? extends SlotInfo> freeSlots,
VertexParallelism vertexParallelism,
JobAllocationsInformation previousAllocations) |
Collection<JobSchedulingPlan.SlotAssignment> |
SlotAssigner.assignSlots(JobInformation jobInformation,
Collection<? extends SlotInfo> freeSlots,
VertexParallelism vertexParallelism,
JobAllocationsInformation previousAllocations) |
Collection<JobSchedulingPlan.SlotAssignment> |
StateLocalitySlotAssigner.assignSlots(JobInformation jobInformation,
Collection<? extends SlotInfo> freeSlots,
VertexParallelism vertexParallelism,
JobAllocationsInformation previousAllocations) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EnforceParallelismChangeRescalingController.shouldRescale(VertexParallelism currentParallelism,
VertexParallelism newParallelism) |
boolean |
RescalingController.shouldRescale(VertexParallelism currentParallelism,
VertexParallelism newParallelism)
This method gets called whenever new resources or
resource
requirements are available and the scheduler needs to design whether to rescale or not. |
boolean |
EnforceMinimalIncreaseRescalingController.shouldRescale(VertexParallelism currentParallelism,
VertexParallelism newParallelism) |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.