Help Center> Data Lake Insight> FAQs> Flink Jobs> Usage> How Do I Know Which Checkpoint the Flink Job I Stopped Will Be Restored to When I Start the Job Again?
Updated on 2022-11-09 GMT+08:00

How Do I Know Which Checkpoint the Flink Job I Stopped Will Be Restored to When I Start the Job Again?

Symptom

Checkpoint was enabled when a Flink job is created, and the OBS bucket for storing checkpoints was specified. After a Flink job is manually stopped, no message is displayed specifying the checkpoint where the Flink job will be restored if the Flink job is started again.

Solution

The generation mechanism and format of Flink checkpoints are the same as those of savepoints. You can import a savepoint of the job to restore it from the latest checkpoint saved in OBS.

  1. Log in to the DLI console. In the navigation pane, choose Job Management > Flink Jobs.
  2. Locate the row that contains the target Flink job, and click Import Savepoint in the Operation column.
  3. In the displayed dialog box, select the OBS bucket path storing the checkpoint. The checkpoint save path is Bucket name/jobs/checkpoint/directory starting with the job ID. Click OK.
  4. Start the Flink job again. The job will be restored fom the imported savepoint.

Usage FAQs

more