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/08/16 15:20:02 UTC

[jira] [Commented] (FLINK-7461) Remove Backwards compatibility for Flink 1.1 from Flink 1.4

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

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

GitHub user StefanRRichter opened a pull request:

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

    [FLINK-7461] Remove Backwards compatibility with <= Flink 1.1

    ## Brief change log
    
    This PR removes backwards compatibility with Flink <= 1.1 from the code. In particular, we can remove many special cases, such as the non-partitionable state that was created by the `Checkpointed` interface (replaced by `CheckpointedFunction` in 1.2).
    
    We also drop aligned windows, which have already been a "hidden feature" since 1.2, because they still rely on the outdated `Checkpointed` interface.
    
    The `Checkpointed` and `CheckpointedRestoring` interfaces are also removed and all related test cases have either been deleted or adapted.
    
    
    ## Verifying this change
    
    This change is already covered by existing tests, such as *(please describe tests)*.
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes)
      - The serializers: (yes, SavepointSerializer)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (no)
    


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

    $ git pull https://github.com/StefanRRichter/flink drop-1.1-compatibility

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

    https://github.com/apache/flink/pull/4550.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 #4550
    
----
commit 50bbc938f3484e8a0d81511db719ebe296b8df94
Author: Stefan Richter <s....@data-artisans.com>
Date:   2017-08-14T12:01:03Z

    [FLINK-7460] [state backends] Close all ColumnFamilyHandles when restoring from rescaled incremental checkpoints

commit 95e44099784c9deaf2ca422b8dfc11c3d67d7f82
Author: Stefan Richter <s....@data-artisans.com>
Date:   2017-08-14T12:02:37Z

    [FLINK-7461] Remove Backwards compatibility with <= Flink 1.1

----


> Remove Backwards compatibility for Flink 1.1 from Flink 1.4
> -----------------------------------------------------------
>
>                 Key: FLINK-7461
>                 URL: https://issues.apache.org/jira/browse/FLINK-7461
>             Project: Flink
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>
> This issue tracks the removal of Flink 1.1 backwards compatibility from Flink 1.4. This step is helpful for further developments because it will remove many old code paths and special cases. In particular, we can drop all handling for non-partitionable state, i.e. state that was created with the old {{Checkpointed}} interface.



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