[ https://issues.apache.org/jira/browse/FLINK-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273478#comment-14273478 ]
ASF GitHub Bot commented on FLINK-1295: --------------------------------------- Github user uce commented on a diff in the pull request: https://github.com/apache/flink/pull/292#discussion_r22783544 --- Diff: docs/yarn_setup.md --- @@ -173,6 +171,24 @@ You can check the number of TaskManagers in the JobManager web interface. The ad If the TaskManagers do not show up after a minute, you should investigate the issue using the log files. +## Run a single Flink job on Hadoop YARN + +The documentation above describes how to start a Flink cluster within a Hadoop YARN environment. +It is also possible to launch Flink within YARN only for executing a single job. + +To deploy a job to a per-job YARN cluster, set the master name to `yarn-cluster`. +Please note that the client then expects the `-n` value to be set (number of TaskManagers). --- End diff -- Shouldn't it be `-yn`? > Add option to Flink client to start a YARN session per job > ---------------------------------------------------------- > > Key: FLINK-1295 > URL: https://issues.apache.org/jira/browse/FLINK-1295 > Project: Flink > Issue Type: New Feature > Components: YARN Client > Reporter: Robert Metzger > Assignee: Robert Metzger > > Currently, Flink users can only launch Flink on YARN as a "YARN session" > (meaning a long-running YARN application that can run multiple Flink jobs) > Users have requested to extend the Flink Client to allocate YARN containers > only for executing a single job. > As part of this pull request, I would suggest to refactor the YARN Client to > make it more modular and object oriented. -- This message was sent by Atlassian JIRA (v6.3.4#6332)