Hi All,
I mean if I can guarantee that a savepoint can always be made before
manually cancelation. If I use DELETE_ON_CANCELLATION option on checkpoints, is
there any probability that I do not have a checkpoint to recover from?
Thank a a lot.
Best
Henry
> 在 2018年9月25日,上午10:41,徐涛 <[email protected]> 写道:
>
> Hi All,
> In flink document, it says
> DELETE_ON_CANCELLATION: “Delete the checkpoint when the job is
> cancelled. The checkpoint state will only be available if the job fails.”
> What is the definition and difference between job cancel and job fails?
> If I run the program on yarn, and after a few days, the yarn application get
> failed for some reason.
> If I use DELETE_ON_CANCELLATION option, in this case, does I have the
> checkpoint to resume the program?
>
> If the checkpoint are only deleted when I cancel the program, I can
> always make the savepoint before cancelation. Then it seems that I can only
> set DELETE_ON_CANCELLATION then.
> I can not find a case that RETAIN_ON_CANCELLATION should be used.
>
>
> Best
> Henry
>