Till Rohrmann commented on FLINK-8459:

Hi [~yanghua], thanks for working on this issue? How do you wanna solve it? We 
have thought about a simple solution where the cancel with savepoint would 
effectively consist of two calls from the client. One for taking the savepoint 
and the other one for cancelling the job.

> Implement cancelWithSavepoint in RestClusterClient
> --------------------------------------------------
>                 Key: FLINK-8459
>                 URL: https://issues.apache.org/jira/browse/FLINK-8459
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Client
>    Affects Versions: 1.5.0
>            Reporter: Gary Yao
>            Assignee: vinoyang
>            Priority: Blocker
>              Labels: flip-6
>             Fix For: 1.5.0
> Implement the method
>         {{RestClusterClient#cancelWithSavepoint(JobID jobId, @Nullable String 
> savepointDirectory)}}.
> by either taking a savepoint and cancel the job separately, or by migrating 
> the logic in {{JobCancellationWithSavepointHandlers}}. The former will have 
> different semantics because the checkpoint scheduler is not stopped. Thus it 
> is not guaranteed that there won't be additional checkpoints between the 
> savepoint and the job cancelation.

This message was sent by Atlassian JIRA

Reply via email to