Apache Airflow - Question about checkpointing and re-run a job

Posted by M Singh on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Apache-Airflow-Question-about-checkpointing-and-re-run-a-job-tp31035.html

Hi:

I have a Flink job and sometimes I need to cancel and re run it.  From what I understand the checkpoints for a job are saved under the job id directory at the checkpoint location. If I run the same job again, it will get a new job id and the checkpoint saved from the previous run job (which is saved under the previous job's id dir) will not be used for this new run. Is that a correct understanding ?  If I need to re-run the job from the previous checkpoint - is there any way to do that automatically without using a savepoint ?

Also, I believe the internal job restarts do not change the job id so in those cases where the job restarts will pick the state from the saved checkpoint.  Is my understanding correct ?

Thanks

Mans