Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Flink/ Flink O&M Management/ Configuring Job Restoration from Snapshots After a Failure and Restart
Updated on 2026-06-27 GMT+08:00

Configuring Job Restoration from Snapshots After a Failure and Restart

Scenarios

When a Flink job fails and restarts, snapshots (savepoints or checkpoints) are typically used to restore the job state to ensure data consistency and accuracy. However, in some cases, using snapshots (savepoints or checkpoints) can make the recovery process difficult and slow, especially when jobs fail often. Flink allows jobs to restart without using snapshots (savepoints or checkpoints) to reduce recovery time and improve job availability and performance.

Notes and Constraints

  • This section applies only to MRS 3.6.0-LTS.1 and later.
  • This feature must be used together with the Flink job restart policy. For details, see Configuring the Flink Job Restart Policy.
  • Flink jobs start using snapshots (savepoints or checkpoints).
  • If checkpointing is not enabled while the Flink job runs, check if Enable CheckPoint is selected on the job development page by referring to Creating a FlinkServer Job.

Procedure

  1. Configure a proper Flink job restart strategy by referring to Configuring the Flink Job Restart Policy based on your service scenario.
  2. Log in to FusionInsight Manager as a user with the FlinkServer administrator permissions. Choose Cluster > Services > Flink. On the right of Flink Web UI, click the link to access the Flink web UI.
  3. Click Job Management.
  4. On the FlinkServer job management page, create a job by referring to Creating a FlinkServer Job or select an existing job, and open the job development page.
  5. On the job development page, set Name to execution.state-recovery.restart-from-savepoint and Value to false in the Customized Parameter area to allow jobs to restart without using snapshots (savepoints and checkpoints). Then, submit the Flink job for the settings to take effect.

    Figure 1 Customized Parameter

  6. To restore a Flink job from a snapshot (savepoint or checkpoint).