rajkgupt commented on code in PR #31066:
URL: https://github.com/apache/beam/pull/31066#discussion_r1574873215


##########
website/www/site/content/en/get-started/quickstart-java.md:
##########
@@ -297,7 +297,7 @@ TODO: document Spark on Gradle: 
https://github.com/apache/beam/issues/21502
 {{< runner dataflow >}}
 gradle clean execute -DmainClass=org.apache.beam.examples.WordCount \
     --args="--project=<your-gcp-project> 
--inputFile=gs://apache-beam-samples/shakespeare/* \
-    --output=gs://<your-gcs-bucket>/counts" -Pdataflow-runner
+    --output=gs://<your-gcs-bucket>/counts --runner=DataflowRunner" 
-Pdataflow-runner

Review Comment:
   yes it is required, as otherwise it gives error "Exception in thread "main" 
java.lang.IllegalArgumentException: Unknown 'runner' specified 
'DataflowRunner', supported pipeline runners [DirectRunner, PortableRunner, 
TestUniversalRunner]"



-- 
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.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to