Search in sources :

Example 1 with RestartPipelinedRegionFailoverStrategy

use of org.apache.flink.runtime.executiongraph.failover.flip1.RestartPipelinedRegionFailoverStrategy in project flink by apache.

the class FailoverBenchmarkBase method setup.

public void setup(JobConfiguration jobConfiguration) throws Exception {
    super.setup();
    jobVertices = createDefaultJobVertices(jobConfiguration);
    source = jobVertices.get(0);
    executionGraph = createAndInitExecutionGraph(jobVertices, jobConfiguration, scheduledExecutorService);
    schedulingTopology = executionGraph.getSchedulingTopology();
    strategy = new RestartPipelinedRegionFailoverStrategy(schedulingTopology);
}
Also used : RestartPipelinedRegionFailoverStrategy(org.apache.flink.runtime.executiongraph.failover.flip1.RestartPipelinedRegionFailoverStrategy)

Aggregations

RestartPipelinedRegionFailoverStrategy (org.apache.flink.runtime.executiongraph.failover.flip1.RestartPipelinedRegionFailoverStrategy)1