Hi,

You can take a look on the documentation:

https://beam.apache.org/get-started/quickstart-java/

You will find here how to run the WordCount example on the direct runner for instance:

mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount \
     -Dexec.args="--inputFile=pom.xml --output=counts" -Pdirect-runner

It's the same for all examples. You have one profile per runner.

Regards
JB

On 05/24/2017 10:59 PM, Claire Yuan wrote:
Hi,
Would anyone please show the correct command to run the examples like wordcount and tfIdf with maven in terminal?

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to