apache / apache/beam

Documentation for word count example is unclear about inputFile vs pom.xml

Open
#19,580 0 comments 0 reactions 0 assignees View on GitHub
bug examples java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Currently the documentation for the word count example mentions the input file and give the following example:

```Java
$ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount \
-Dexec.args="\--inputFile=pom.xml \--output=counts" -Pdirect-runner
``
. As far as I believe the pom.xml is not supposed to be the input file in this case. I will create a PR if someone could confirm that my assumption is correct :)

/Niklas

Imported from Jira [BEAM-7976](https://issues.apache.org/jira/browse/BEAM-7976). Original Jira may contain additional context.
Reported by: nikenano.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.