Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7215

Wordcount example page does not tell the user to create the maven project using archetype

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: website
    • Labels:
      None

      Description

      https://beam.apache.org/get-started/wordcount-example/#wordcount-example does not have a link back to https://beam.apache.org/get-started/quickstart-java/#get-the-wordcount-code. If the user just follows the instructions in the first link (from a search engine let's say), they would get:

      $ mvn compile exec:java Dexec.mainClass=org.apache.beam.examples.WordCount -Dexec.args="runner=DataflowRunner --gcpTempLocation=gs://clouddfe-test/staging$USER --inputFile=gs://apache-beam-samples/shakespeare/* --output=gs://world-readable-mkcq69tkcu/$USER/result.txt" -Pdataflow-runner [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.068 s [INFO] Finished at: 2019-05-02T13:32:15-07:00 [INFO] Final Memory: 23M/1948M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "dataflow-runner" could not be activated because it does not exist. [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/usr/local/google/home/davidyan/beam). Please verify you invoked Maven from the correct directory. -> [Help 1]

        Attachments

          Activity

            People

            • Assignee:
              melap Melissa Pashniak
              Reporter:
              davidyan David Yan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: