flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhue...@apache.org
Subject [4/4] flink git commit: [FLINK-4778] [docs] Fix WordCount parameters in CLI examples.
Date Mon, 10 Oct 2016 18:49:59 GMT
[FLINK-4778] [docs] Fix WordCount parameters in CLI examples.

Due to the change in https://github.com/apache/flink/commit/0629e25602eefdc239e8e72d9e3c9c1a5164448e,
we need to specify a prefix for `input` and `output` files.

This closes #2611


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/a079259f
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/a079259f
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/a079259f

Branch: refs/heads/master
Commit: a079259f3cfe3dc0717439fd65ce5de17cf69fb5
Parents: 2061852
Author: Pattarawat Chormai <pat.chormai@gmail.com>
Authored: Fri Oct 7 21:34:33 2016 +0200
Committer: Fabian Hueske <fhueske@apache.org>
Committed: Mon Oct 10 20:49:12 2016 +0200

----------------------------------------------------------------------
 docs/setup/cli.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/a079259f/docs/setup/cli.md
----------------------------------------------------------------------
diff --git a/docs/setup/cli.md b/docs/setup/cli.md
index 530fd21..5153787 100644
--- a/docs/setup/cli.md
+++ b/docs/setup/cli.md
@@ -55,12 +55,12 @@ The command line can be used to
 -   Run example program with arguments for input and result files
 
         ./bin/flink run ./examples/batch/WordCount.jar \
-                               file:///home/user/hamlet.txt file:///home/user/wordcount_out
+                             --input file:///home/user/hamlet.txt --output file:///home/user/wordcount_out
 
 -   Run example program with parallelism 16 and arguments for input and result files
 
         ./bin/flink run -p 16 ./examples/batch/WordCount.jar \
-                                file:///home/user/hamlet.txt file:///home/user/wordcount_out
+                             --input file:///home/user/hamlet.txt --output file:///home/user/wordcount_out
 
 -   Run example program with flink log output disabled
 
@@ -74,24 +74,24 @@ The command line can be used to
 
         ./bin/flink run -m myJMHost:6123 \
                                ./examples/batch/WordCount.jar \
-                               file:///home/user/hamlet.txt file:///home/user/wordcount_out
+                               --input file:///home/user/hamlet.txt --output file:///home/user/wordcount_out
 
 -   Run example program with a specific class as an entry point:
 
         ./bin/flink run -c org.apache.flink.examples.java.wordcount.WordCount \
                                ./examples/batch/WordCount.jar \
-                               file:///home/user/hamlet.txt file:///home/user/wordcount_out
+                               --input file:///home/user/hamlet.txt --output file:///home/user/wordcount_out
 
 -   Run example program using a [per-job YARN cluster]({{site.baseurl}}/setup/yarn_setup.html#run-a-single-flink-job-on-hadoop-yarn)
with 2 TaskManagers:
 
         ./bin/flink run -m yarn-cluster -yn 2 \
                                ./examples/batch/WordCount.jar \
-                               hdfs:///user/hamlet.txt hdfs:///user/wordcount_out
+                               --input hdfs:///user/hamlet.txt --output hdfs:///user/wordcount_out
 
 -   Display the optimized execution plan for the WordCount example program as JSON:
 
         ./bin/flink info ./examples/batch/WordCount.jar \
-                                file:///home/user/hamlet.txt file:///home/user/wordcount_out
+                                --input file:///home/user/hamlet.txt --output file:///home/user/wordcount_out
 
 -   List scheduled and running jobs (including their JobIDs):
 


Mime
View raw message