flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4787) Add REST API call for cancel-with-savepoints
Date Mon, 24 Oct 2016 13:57:58 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602060#comment-15602060

ASF GitHub Bot commented on FLINK-4787:

Github user rmetzger commented on the issue:

    Looks like the tests are failing.
    I quickly scrolled over the changes. +1 to merge.

> Add REST API call for cancel-with-savepoints
> --------------------------------------------
>                 Key: FLINK-4787
>                 URL: https://issues.apache.org/jira/browse/FLINK-4787
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>            Reporter: Ufuk Celebi
> As a follow up to FLINK-4717, expose the cancel-with-savepoint command via the REST API.
> {code}
> /jobs/:jobid/cancel-with-savepoint/
> /jobs/:jobid/cancel-with-savepoint/:targetDirectory
> {code}
> The first command goes to the default savepoint directory, the second one uses the given
target directory.
> The calls need to be async, as triggering a savepoint can take some time. For this, the
handlers return a {{201 (Accepted)}} response with the location of the status, e.g. {{/jobs/:jobid/cancel-with-savepoint/in-progress/:id}}.
> The user has to check that location until the final savepoint path is returned.

This message was sent by Atlassian JIRA

View raw message