[ 
https://issues.apache.org/jira/browse/FLINK-8459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Yao updated FLINK-8459:
----------------------------
    Description: 
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.




  was:
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.





> Implement cancelWithSavepoint in RestClusterClient
> --------------------------------------------------
>
>                 Key: FLINK-8459
>                 URL: https://issues.apache.org/jira/browse/FLINK-8459
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Client
>            Reporter: Gary Yao
>            Priority: Critical
>             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
(v7.6.3#76005)

Reply via email to