Skip to content

[BEAM-7962] Drop support for Flink 1.5 and 1.6 - #9632

Merged
mxm merged 2 commits into
apache:masterfrom
mxm:BEAM-7962
Sep 24, 2019
Merged

[BEAM-7962] Drop support for Flink 1.5 and 1.6#9632
mxm merged 2 commits into
apache:masterfrom
mxm:BEAM-7962

Conversation

@mxm

@mxmmxm commented Sep 21, 2019

Copy link
Copy Markdown
Contributor

Flink 1.9 is now released and Beam 2.17.0 is going to support it. Since the Flink community only supports the last two Flink releases, it is now time to drop at least 1.5 and 1.6.

As a follow-up, we will get rid of Flink 1.5/1.6 specific workarounds, e.g. make use of Flink's preSnapshotBarrier in AbstractStreamOperator which removes the needs to buffer elements during a snapshot.

Build time should decrease by several minutes.

Post-Commit Tests Status (on master branch)

LangSDKApexDataflowFlinkGearpumpSamzaSpark
GoBuild Status------Build Status------Build Status
JavaBuild StatusBuild StatusBuild StatusBuild Status
Build Status
Build Status
Build StatusBuild StatusBuild Status
Build Status
PythonBuild Status
Build Status
Build Status
Build Status
---Build Status
Build Status
Build Status------Build Status
XLang---------Build Status---------

Pre-Commit Tests Status (on master branch)

---JavaPythonGoWebsite
Non-portableBuild StatusBuild StatusBuild StatusBuild Status
Portable---Build Status------

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

Flink 1.9 is now released and Beam 2.17.0 is going to support it. Since the
Flink community only supports the last two Flink releases, it is now time to
drop at least 1.5 and 1.6.
As a follow-up, we will get rid of Flink 1.5/1.6 specific workarounds, e.g. make use of Flink's preSnapshotBarrier in AbstractStreamOperator which removes the needs to buffer elements during a snapshot.
Build time should decrease by several minutes.
@mxm

mxm commented Sep 23, 2019

Copy link
Copy Markdown
ContributorAuthor

Run Seed Job

@mxm

mxm commented Sep 23, 2019

Copy link
Copy Markdown
ContributorAuthor

Run Flink ValidatesRunner

@mxm

mxm commented Sep 23, 2019

Copy link
Copy Markdown
ContributorAuthor

Run Java Flink PortableValidatesRunner Batch

@mxm

mxm commented Sep 23, 2019

Copy link
Copy Markdown
ContributorAuthor

Run Java Flink PortableValidatesRunner Streaming

@mxm
mxm requested review from dmvk and tweiseSeptember 23, 2019 14:13

@tweisetweise left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, great to see the simplification this brings (and the reduction in CI burden).

@dmvkdmvk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 This is a great simplification!

@mxm

mxm commented Sep 24, 2019

Copy link
Copy Markdown
ContributorAuthor

Thank you for the reviews.

@mxm
mxm merged commit 0dc2ad2 into apache:masterSep 24, 2019
mxm added a commit to mxm/beam that referenced this pull request Sep 24, 2019
…OutputManager
For Flink version <= 1.5 the Flink Runner had to buffer any elements which are
emitted during a snapshot because the barrier has already been emitted.
Flink version >= 1.6 provides a hook to execute an action before the snapshot
barrier is emitted by the operator. We can remove the buffering in favor of
finishing the current bundle in the DoFnOperator's prepareSnapshotPreBarrier.
This had previously been deferred (apache#7940) until removal of Flink 1.5 (apache#9632).
mxm added a commit to lyft/beam that referenced this pull request Nov 1, 2019
…OutputManager
For Flink version <= 1.5 the Flink Runner had to buffer any elements which are
emitted during a snapshot because the barrier has already been emitted.
Flink version >= 1.6 provides a hook to execute an action before the snapshot
barrier is emitted by the operator. We can remove the buffering in favor of
finishing the current bundle in the DoFnOperator's prepareSnapshotPreBarrier.
This had previously been deferred (apache#7940) until removal of Flink 1.5 (apache#9632).
mxm added a commit to lyft/beam that referenced this pull request Nov 1, 2019
…OutputManager
For Flink version <= 1.5 the Flink Runner had to buffer any elements which are
emitted during a snapshot because the barrier has already been emitted.
Flink version >= 1.6 provides a hook to execute an action before the snapshot
barrier is emitted by the operator. We can remove the buffering in favor of
finishing the current bundle in the DoFnOperator's prepareSnapshotPreBarrier.
This had previously been deferred (apache#7940) until removal of Flink 1.5 (apache#9632).
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@mxm@tweise@dmvk