[jira] [Created] (FLINK-8459) Implement cancelWithSavepoint in RestClusterClient

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-8459) Implement cancelWithSavepoint in RestClusterClient

Shang Yuanchun (Jira)
Gary Yao created FLINK-8459:
-------------------------------

             Summary: 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


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)