use of org.apache.flink.runtime.jobmaster.TestingLogicalSlotBuilder in project flink by apache.
the class RegionToRestartInBatchJobBenchmark method setup.
@Override
public void setup(JobConfiguration jobConfiguration) throws Exception {
super.setup(jobConfiguration);
final JobVertex source = jobVertices.get(0);
final JobVertex sink = jobVertices.get(1);
final TestingLogicalSlotBuilder slotBuilder = new TestingLogicalSlotBuilder();
deployTasks(executionGraph, source.getID(), slotBuilder, true);
transitionTaskStatus(executionGraph, source.getID(), ExecutionState.FINISHED);
deployTasks(executionGraph, sink.getID(), slotBuilder, true);
}
Aggregations