This is an automated email from the ASF dual-hosted git repository.

lindong pushed a commit to branch release-2.3
in repository https://gitbox.apache.org/repos/asf/flink-ml.git


The following commit(s) were added to refs/heads/release-2.3 by this push:
     new 52d0e311 [hotfix] Update Java quick-start.md to correctly install 
Flink ML library jars
52d0e311 is described below

commit 52d0e3119d24ffd02d7f74bbffc30778f9161be2
Author: Dong Lin <lindon...@gmail.com>
AuthorDate: Thu Jun 29 15:29:52 2023 +0800

    [hotfix] Update Java quick-start.md to correctly install Flink ML library 
jars
---
 docs/content/docs/try-flink-ml/java/quick-start.md | 22 +++++++---------------
 .../docs/try-flink-ml/python/quick-start.md        |  4 ++--
 2 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/docs/content/docs/try-flink-ml/java/quick-start.md 
b/docs/content/docs/try-flink-ml/java/quick-start.md
index 2a289ae8..9e685a98 100644
--- a/docs/content/docs/try-flink-ml/java/quick-start.md
+++ b/docs/content/docs/try-flink-ml/java/quick-start.md
@@ -50,7 +50,7 @@ $ java -version
 
 ## Download Flink
 
-[Download Flink 1.17](https://flink.apache.org/downloads.html), then extract 
the archive:
+Download [Flink 1.17](https://flink.apache.org/downloads.html), then extract 
the archive:
 
 ```shell
 $ tar -xzf flink-*.tgz
@@ -58,8 +58,7 @@ $ tar -xzf flink-*.tgz
 
 ## Set Up Flink Environment Variables
 
-After having downloaded Flink, please register `$FLINK_HOME` as an environment
-variable into your local environment.
+Run the following commands after having downloaded Flink:
 
 ```bash
 cd ${path_to_flink}
@@ -73,20 +72,13 @@ initialization.
 
 {{< stable >}}
 
-Please [download the correponding binary
-release](https://flink.apache.org/downloads.html) of Flink ML, then extract the
-archive:
+Please download [Flink ML Python
+source](https://flink.apache.org/downloads.html) and extract the jar files into
+Flink's library folder.
 
 ```shell
-tar -xzf flink-ml-*.tgz
-```
-
-Then you may copy the extracted library files to Flink's folder with the
-following commands.
-
-```shell
-cd ${path_to_flink_ml}
-cp ./lib/*.jar $FLINK_HOME/lib/
+tar -xzf apache-flink-ml*.tar.gz
+cp apache-flink-ml-*/deps/lib/* $FLINK_HOME/lib/
 ```
 
 {{< /stable >}} {{< unstable >}}
diff --git a/docs/content/docs/try-flink-ml/python/quick-start.md 
b/docs/content/docs/try-flink-ml/python/quick-start.md
index b96a65d0..33f830c1 100644
--- a/docs/content/docs/try-flink-ml/python/quick-start.md
+++ b/docs/content/docs/try-flink-ml/python/quick-start.md
@@ -256,7 +256,7 @@ $ tar -xzf flink-*.tgz
 
 ### Set Up Flink Library and Environment Variables
 
-Run the followig commands after having downloaded Flink.
+Run the following commands after having downloaded Flink:
 
 ```bash
 cd ${path_to_flink}
@@ -284,7 +284,7 @@ cp apache-flink-ml-*/deps/lib/* $FLINK_HOME/lib/
 
 Given that you have followed this [guideline]({{< ref
 "docs/development/build-and-install#build-and-install-python-sdk" >}}), you
-would have already built Flink ML's Java SDK. Now, you need to copy the
+would have already built Flink ML's Python SDK. Now, you need to copy the
 generated library files to Flink's folder with the following commands.
 
 ```shell

Reply via email to