Skip to content

Conversation

@mxm
Copy link
Contributor

@mxm mxm commented Sep 21, 2019

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)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Python Build 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)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build 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
Copy link
Contributor Author

mxm commented Sep 23, 2019

Run Seed Job

@mxm
Copy link
Contributor Author

mxm commented Sep 23, 2019

Run Flink ValidatesRunner

@mxm
Copy link
Contributor Author

mxm commented Sep 23, 2019

Run Java Flink PortableValidatesRunner Batch

@mxm
Copy link
Contributor Author

mxm commented Sep 23, 2019

Run Java Flink PortableValidatesRunner Streaming

@mxm mxm requested review from dmvk and tweise September 23, 2019 14:13
Copy link
Contributor

@tweise tweise left a comment

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).

Copy link
Member

@dmvk dmvk left a comment

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
Copy link
Contributor Author

mxm commented Sep 24, 2019

Thank you for the reviews.

@mxm mxm merged commit 0dc2ad2 into apache:master Sep 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 free to 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