You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by zh...@apache.org on 2022/07/26 02:20:54 UTC

[flink-ml] branch master updated: [hotfix] Fix configuration requirement in quick start

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9adefa6  [hotfix] Fix configuration requirement in quick start
9adefa6 is described below

commit 9adefa6ffb04baa6cb987b387539ee9819291b04
Author: yunfengzhou-hub <yu...@outlook.com>
AuthorDate: Tue Jul 26 10:20:50 2022 +0800

    [hotfix] Fix configuration requirement in quick start
    
    This closes #128.
---
 docs/content/docs/try-flink-ml/quick-start.md | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/docs/content/docs/try-flink-ml/quick-start.md b/docs/content/docs/try-flink-ml/quick-start.md
index 5a06233..aca287f 100644
--- a/docs/content/docs/try-flink-ml/quick-start.md
+++ b/docs/content/docs/try-flink-ml/quick-start.md
@@ -64,6 +64,16 @@ mvn clean package -DskipTests
 cd ./flink-ml-dist/target/flink-ml-*-bin/flink-ml*/
 ```
 
+### Add Flink ML binaries to Flink
+
+You need to copy Flink ML's binary distribution files to Flink's folder for
+proper initialization. Please run the following command from Flink ML's binary
+distribution's folder.
+
+```bash
+cp ./lib/*.jar $FLINK_HOME/lib/
+```
+
 ## Run Flink ML example job
 
 Please start a Flink standalone cluster in your local environment with the
@@ -79,8 +89,8 @@ that the cluster is up and running.
 
 Then you may submit Flink ML examples to the cluster as follows.
 
-```
-$FLINK_HOME/bin/flink run -c org.apache.flink.ml.examples.clustering.KMeansExample -C file://`pwd`/lib/flink-ml-uber-2.2-SNAPSHOT.jar -C file://`pwd`/lib/statefun-flink-core-3.2.0.jar lib/flink-ml-examples-2.2-SNAPSHOT.jar
+```bash
+$FLINK_HOME/bin/flink run -c org.apache.flink.ml.examples.clustering.KMeansExample $FLINK_HOME/lib/flink-ml-examples*.jar
 ```
 
 The command above would submit and execute Flink ML's `KMeansExample` job. There