Repository: flink
Updated Branches:
  refs/heads/release-1.1 d619f51ac -> 2203f743a


[FLINK-4778] [docs] Fix WordCount parameters in CLI examples.


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

Branch: refs/heads/release-1.1
Commit: 2203f743a6bfd2db483603d1f45e210cee935f17
Parents: d619f51
Author: Pattarawat Chormai <pat.chor...@gmail.com>
Authored: Fri Oct 7 21:34:33 2016 +0200
Committer: Fabian Hueske <fhue...@apache.org>
Committed: Mon Oct 10 20:51:59 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/2203f743/docs/apis/cli.md
----------------------------------------------------------------------
diff --git a/docs/apis/cli.md b/docs/apis/cli.md
index c272413..7209c3a 100644
--- a/docs/apis/cli.md
+++ b/docs/apis/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):
 

Reply via email to