You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into some issues and would like comments on how to proceed or resolve the issue.
I have been successful in running the Flink examples against a Flink Cluster running on Kubernetes. I am trying to run similar examples from Apache Beam. I am able to the following using Apache Beam 2.5.0 or 2.5.2 against Flink 1.16.3 but I am trying to use Flink 1.17.1 or later but I cannot submit job against Flink cluster.
Package Apache Beam Wordcount example with Flink runner using command “$ mvn package -Pflink-runner”?
Push the application to Flink Cluster using below convention which is documented in Beam docs.
If I do above steps using Beam 2.50.0 or 2.52.0 against Flink 1.16.3 then it works fine. Job is submitted and runs successfully. If I use the same version of Beam but a higher version of Flink then the job fails to submit. I am getting errors with the dependencies which are packaged with application. It looks like the additional jars packaged are not compatible with the Flink runtime. Can someone please let me know what combination of Beam is required with Flink 1.17.x or higher? Thanks
The text was updated successfully, but these errors were encountered:
Just adding an update today that the Flink community seems to advertise the existence of 1.18, 1.19, and 1.20. Meanwhile in beam with the upcoming 2.61.0 release we will support 1.17, 1.18, and 1.19. So these are the versions that you'd want to look into.
Please verify that the version of Flink runner in the pom.xml matches the version of Flink. Flink version 1.16 have to use artifact beam-runners-flink-flink-1.16 and Flink 1.17 must use beam-runners-flink-1.17.
I am running into some issues and would like comments on how to proceed or resolve the issue.
I have been successful in running the Flink examples against a Flink Cluster running on Kubernetes. I am trying to run similar examples from Apache Beam. I am able to the following using Apache Beam 2.5.0 or 2.5.2 against Flink 1.16.3 but I am trying to use Flink 1.17.1 or later but I cannot submit job against Flink cluster.
Package Apache Beam Wordcount example with Flink runner using command “$ mvn package -Pflink-runner”?
Push the application to Flink Cluster using below convention which is documented in Beam docs.
mvn exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount
-Pflink-runner
-Dexec.args=“--runner=FlinkRunner
--inputFile=/path/to/pom.xml
--output=/path/to/counts
--flinkMaster=
--filesToStage=target/word-count-beam-bundled-0.1.jar”
If I do above steps using Beam 2.50.0 or 2.52.0 against Flink 1.16.3 then it works fine. Job is submitted and runs successfully. If I use the same version of Beam but a higher version of Flink then the job fails to submit. I am getting errors with the dependencies which are packaged with application. It looks like the additional jars packaged are not compatible with the Flink runtime. Can someone please let me know what combination of Beam is required with Flink 1.17.x or higher? Thanks
The text was updated successfully, but these errors were encountered: