-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[ZEPPELIN-6406] Remove deprecated Flink 1.15/1.16/1.17 shims and add Flink 1.19/1.20 support #5205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
af014ab
674d103
ca86726
550715b
9a26ead
ae88975
5544050
cfff618
537285b
e335f19
28a3350
c1ee8b0
085911f
182d924
a388745
a443153
1d06082
28bae0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,14 +85,14 @@ cd zeppelin | |
| Package Zeppelin. | ||
|
|
||
| ```bash | ||
| ./mvnw clean package -DskipTests -Pspark-3.5 -Pflink-1.17 | ||
| ./mvnw clean package -DskipTests -Pspark-3.5 -Pflink1.20 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems it's inconsistent with scala and spark profile pattern, can we unify them to |
||
| ``` | ||
|
|
||
| `-DskipTests` skips build tests- you're not developing (yet), so you don't need to do tests, the clone version *should* build. | ||
|
|
||
| `-Pspark-3.5` tells maven to build a Zeppelin with Spark 3.5. This is important because Zeppelin has its own Spark interpreter and the versions must be the same. | ||
|
|
||
| `-Pflink-1.17` tells maven to build a Zeppelin with Flink 1.17. | ||
| `-Pflink1.20` tells maven to build a Zeppelin with Flink 1.20. | ||
|
|
||
| **Note:** You can build against any version of Spark that has a Zeppelin build profile available. The key is to make sure you check out the matching version of Spark to build. At the time of this writing, Spark 3.5 was the most recent Spark version available. | ||
|
|
||
|
|
@@ -215,16 +215,16 @@ Building from source is recommended where possible, for simplicity in this tuto | |
| To download the Flink Binary use `wget` | ||
|
|
||
| ```bash | ||
| wget -O flink-1.17.1-bin-scala_2.12.tgz "https://www.apache.org/dyn/closer.lua/flink/flink-1.17.1/flink-1.17.1-bin-scala_2.12.tgz?action=download" | ||
| tar -xzvf flink-1.17.1-bin-scala_2.12.tgz | ||
| wget -O flink-1.20.3-bin-scala_2.12.tgz "https://www.apache.org/dyn/closer.lua/flink/flink-1.20.3/flink-1.20.3-bin-scala_2.12.tgz?action=download" | ||
| tar -xzvf flink-1.20.3-bin-scala_2.12.tgz | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1.20.4 release in early May, which includes security fixes. |
||
| ``` | ||
|
|
||
| This will download Flink 1.17.1. | ||
| This will download Flink 1.20.3. | ||
|
|
||
| Start the Flink Cluster. | ||
|
|
||
| ```bash | ||
| flink-1.17.1/bin/start-cluster.sh | ||
| flink-1.20.3/bin/start-cluster.sh | ||
| ``` | ||
|
|
||
| ###### Building From source | ||
|
|
@@ -233,13 +233,13 @@ If you wish to build Flink from source, the following will be instructive. Note | |
|
|
||
| See the [Flink Installation guide](https://github.com/apache/flink/blob/master/README.md) for more detailed instructions. | ||
|
|
||
| Return to the directory where you have been downloading, this tutorial assumes that is `$HOME`. Clone Flink, check out release-1.17.1, and build. | ||
| Return to the directory where you have been downloading, this tutorial assumes that is `$HOME`. Clone Flink, check out release-1.20.3, and build. | ||
|
|
||
| ```bash | ||
| cd $HOME | ||
| git clone https://github.com/apache/flink.git | ||
| cd flink | ||
| git checkout release-1.17.1 | ||
| git checkout release-1.20.3 | ||
| mvn clean install -DskipTests | ||
| ``` | ||
|
|
||
|
|
@@ -261,8 +261,8 @@ If no task managers are present, restart the Flink cluster with the following co | |
| (if binaries) | ||
|
|
||
| ```bash | ||
| flink-1.17.1/bin/stop-cluster.sh | ||
| flink-1.17.1/bin/start-cluster.sh | ||
| flink-1.20.3/bin/stop-cluster.sh | ||
| flink-1.20.3/bin/start-cluster.sh | ||
| ``` | ||
|
|
||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.