You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/20 07:10:02 UTC

[jira] [Commented] (FLINK-6521) Add per job cleanup methods to HighAvailabilityServices

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

ASF GitHub Bot commented on FLINK-6521:
---------------------------------------

GitHub user zjureel opened a pull request:

    https://github.com/apache/flink/pull/4376

    [FLINK-6521] Add per job cleanup methods to HighAvailabilityServices

    Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
    If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the [How To Contribute guide](http://flink.apache.org/how-to-contribute.html).
    In addition to going through the list, please provide a meaningful description of your changes.
    
    - [ ] General
      - The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
      - The pull request addresses only one issue
      - Each commit in the PR has a meaningful commit message (including the JIRA id)
    
    - [ ] Documentation
      - Documentation has been added for new functionality
      - Old documentation affected by the pull request has been updated
      - JavaDoc for public methods has been added
    
    - [ ] Tests & Build
      - Functionality added by the pull request is covered by tests
      - `mvn clean verify` has been executed successfully locally or a Travis build has passed


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zjureel/flink FLINK-6521

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/4376.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4376
    
----
commit 0290f34f82cf5eba6bfabbb785037cf1507600b4
Author: zjureel <zj...@gmail.com>
Date:   2017-07-12T05:33:08Z

    add cleanupData(JobID jobID) in HighAvailabilityServices

commit 7e9860e526bb33fbca6ffbb1822d9a6d945ceb6f
Author: zjureel <zj...@gmail.com>
Date:   2017-07-19T06:32:10Z

    add test case

commit e3fd500cae0e85c5f3c12f728ccde8ec95729020
Author: zjureel <zj...@gmail.com>
Date:   2017-07-20T07:05:29Z

    add test case

----


> Add per job cleanup methods to HighAvailabilityServices
> -------------------------------------------------------
>
>                 Key: FLINK-6521
>                 URL: https://issues.apache.org/jira/browse/FLINK-6521
>             Project: Flink
>          Issue Type: Improvement
>          Components: Distributed Coordination
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Till Rohrmann
>
> The {{HighAvailabilityServices}} are used to manage services and persistent state at a single point. This also entails the cleanup of data used for HA. So far the {{HighAvailabilityServices}} can only clean up the data for all stored jobs. In order to support cluster sessions, we have to extend this functionality to selectively delete data for single jobs. This is necessary to keep data for failed jobs and delete data for successfully executed jobs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)