[
https://issues.apache.org/jira/browse/BEAM-12770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429724#comment-17429724
]
Beam JIRA Bot commented on BEAM-12770:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> 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
> Priority: P2
> Labels: stale-P2
>
> 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.3.4#803005)