wonook commented on a change in pull request #225: [NEMO-399] Include the 
official WordCount example from the Beam website
URL: https://github.com/apache/incubator-nemo/pull/225#discussion_r336748159
 
 

 ##########
 File path: README.md
 ##########
 @@ -79,31 +79,40 @@ Below describes how Beam applications can be run directly 
on Nemo.
 
 ### Examples
 ```bash
+## Beam WordCount (from Beam website) example
+$ ./bin/run_beam.sh \
+    -job_id beam_wordcount \
+    -optimization_policy 
org.apache.nemo.compiler.optimizer.policy.DefaultPolicy \
+    -user_main org.apache.nemo.examples.beam.BeamWordCount \
+    -user_args "--runner=NemoRunner 
--inputFile=`pwd`/examples/resources/inputs/test_input_wordcount 
--output=`pwd`/outputs/wordcount"
+$ less `pwd`/outputs/wordcount*
+
 ## MapReduce example
 
 Review comment:
   Oh OK. I got what you're saying.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to