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
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/flink-on-gcp/installation.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ layout: learningpathall
7
7
---
8
8
9
9
## Install Apache Flink on GCP VM
10
-
This guide walks you through installing **Apache Flink** and its required dependencies on a **Google Cloud Platform (GCP) SUSE Arm64 Virtual Machine (VM)**. By the end of this section, you will have a fully configured Flink environment ready for job execution and benchmarking.
10
+
In this section you will install Apache Flink and its required dependencies on a Google Cloud Platform (GCP) SUSE Arm64 Virtual Machine (VM). By the end, you will have a fully configured Flink environment ready for local execution, standalone clusters, or benchmarking Flink workloads on Arm.
11
11
12
12
### Update the System and Install Java
13
-
Before installing Flink, ensure your system packages are up to date and Java is installed.
14
-
13
+
Apache Flink requires a Java runtime (JRE) and development kit (JDK).
This step ensures you have the latest system updates and the Java runtime needed to execute Flink applications.
21
21
22
22
### Download Apache Flink Binary
23
-
Next, download the pre-built binary package for **Apache Flink** from the official Apache mirror.
23
+
Navigate to /opt (a standard location for system-wide tools) and download the official Flink distribution:
24
24
25
25
```console
26
26
cd /opt
@@ -32,45 +32,42 @@ This command retrieves the official Flink binary distribution for installation o
32
32
Flink 2.0.0 introduced Disaggregated State Management architecture, which enables more efficient resource utilization in cloud-native environments, ensuring high-performance real-time processing while minimizing resource overhead.
33
33
You can view [this release note](https://flink.apache.org/2025/03/24/apache-flink-2.0.0-a-new-era-of-real-time-data-processing/)
34
34
35
-
The [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) recommends Flink version 2.0.0, the minimum recommended on the Arm platforms.
35
+
For best performance on Arm, the [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) recommends using Flink ≥ 2.0.0.
36
36
{{% /notice %}}
37
37
38
38
### Extract the Downloaded Archive
39
-
Extract the downloaded `.tgz`archive to make the Flink files accessible for configuration.
39
+
Untar the archive:
40
40
41
41
```console
42
42
sudo tar -xvzf flink-2.1.1-bin-scala_2.12.tgz
43
43
```
44
44
After extraction, you will have a directory named `flink-2.1.1` under `/opt`.
45
45
46
-
**Rename the extracted directory for convenience:**
47
-
For easier access and management, rename the extracted Flink directory to a simple name like `/opt/flink`.
48
-
46
+
Rename it for convenience:
49
47
```console
50
48
sudo mv flink-2.1.1 /opt/flink
51
49
```
52
-
This makes future references to your Flink installation path simpler and more consistent.
50
+
This makes configuration, upgrades, and scripting easier for your Flink installation.
53
51
54
52
### Configure Environment Variables
55
-
Set the environment variables so the Flink commands are recognized system-wide. This ensures you can run `flink` from any terminal session.
0 commit comments