[ 
https://issues.apache.org/jira/browse/BEAM-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899797#comment-15899797
 ] 

Aljoscha Krettek commented on BEAM-1631:
----------------------------------------

[~davor] Yes, this analysis is correct! I'll look into how hard it would be to 
let the Flink Runner submit directly to YARN without bin/flink.

[~mingmxu] You can submit a Beam job using the Flink Runner on a YARN cluster 
using the bin/flink command. This page in the Flink doc describes how to do 
that: 
https://ci.apache.org/projects/flink/flink-docs-release-1.3/setup/yarn_setup.html.
 To Flink, a jar with a Beam on Flink Runner program looks just like a normal 
Flink program, so everything that you can do with Flink programs you can also 
do with Beam programs.

> Flink runner: submit job to a Flink-on-YARN cluster
> ---------------------------------------------------
>
>                 Key: BEAM-1631
>                 URL: https://issues.apache.org/jira/browse/BEAM-1631
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-flink
>            Reporter: Davor Bonaci
>            Assignee: Aljoscha Krettek
>
> As far as I understand, running Beam pipelines on a Flink cluster can be done 
> in two ways:
> * Run directly with a Flink runner, and specifying {{--flinkMaster}} pipeline 
> option via, say, {{mvn exec}}.
> * Produce a bundled JAR, and use {{bin/flink}} to submit the same pipeline.
> These two ways are equivalent, and work well on a standalone Flink cluster.
> Submitting to a Flink-on-YARN is more complicated. You can still produce a 
> bundled JAR, and use {{bin/flink -yid <applicationid>}} to submit such a job. 
> However, that seems impossible with a Flink runner directly.
> If so, we should add the ability to the Flink runner to submit a job to a 
> Flink-on-YARN cluster directly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to