You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "David Huntsperger (Jira)" <ji...@apache.org> on 2022/03/14 18:10:00 UTC
[jira] [Updated] (BEAM-12770) Java Quickstart: Gradle/Dataflow runner command is incorrect
[ https://issues.apache.org/jira/browse/BEAM-12770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Huntsperger updated BEAM-12770:
-------------------------------------
Priority: P2 (was: P3)
> Java Quickstart: Gradle/Dataflow runner command is incorrect
> ------------------------------------------------------------
>
> Key: BEAM-12770
> URL: https://issues.apache.org/jira/browse/BEAM-12770
> Project: Beam
> Issue Type: Bug
> Components: website
> Reporter: David Huntsperger
> Assignee: David Huntsperger
> Priority: P2
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Gradle command for running the WordCount example on Dataflow does not actually use the Dataflow Runner. See: https://beam.apache.org/get-started/quickstart-java/#run-wordcount-using-gradle
> But if you add `--runner=DataflowRunner` to -Dexec.args, you get an error: `Exception in thread "main" java.lang.IllegalArgumentException: Unknown 'runner' specified 'DataflowRunner', supported pipeline runners [DirectRunner, PortableRunner, TestUniversalRunner]`
> Per [~lcwik]: "It is likely that the profiles in Maven aren't being converted over correctly to Gradle. (e.g. the additional stuff that -Pdataflow-runner is doing such as adding the DataflowRunner dep to the runtime classpath)"
> So it looks like we actually need to finish implementing the [Maven-to-Gradle conversion|https://docs.gradle.org/current/userguide/migrating_from_maven.html].
--
This message was sent by Atlassian Jira
(v8.20.1#820001)