use of org.apache.flink.runtime.scheduler.strategy.PipelinedRegionSchedulingStrategy in project flink by apache.
the class SchedulingDownstreamTasksInBatchJobBenchmark method setup.
@Override
public void setup(JobConfiguration jobConfiguration) throws Exception {
super.setup(jobConfiguration);
schedulingStrategy = new PipelinedRegionSchedulingStrategy(schedulerOperations, schedulingTopology);
executionVertexID = executionGraph.getJobVertex(jobVertices.get(0).getID()).getTaskVertices()[0].getID();
for (ExecutionVertex vertex : executionGraph.getJobVertex(jobVertices.get(0).getID()).getTaskVertices()) {
vertex.finishAllBlockingPartitions();
}
}
Aggregations