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

ASF GitHub Bot commented on FLINK-8901:
---------------------------------------

Github user arukavytsia commented on the issue:

    https://github.com/apache/flink/pull/5754
  
    I found that there is no ability no override the `Application Name` in 
cluster mode with `YARN`, for instance: `./bin/flink run -m yarn-cluster -nm 
\"Some custom name\" -yn 4 -yjm 1024 -ytm 4096 ./examples/batch/WordCount.jar`, 
if I'm wrong, pleae, correct me. 
    p.s. According [to this 
line](https://github.com/apache/flink/blame/2ec72123e347e684ac40a1e1111a79a11211aadb/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java#L1033)
 it's feasible to override `Application Name` but not via cli.


> YARN application name for Flink (per-job) submissions claims it is using only 
> 1 TaskManager
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-8901
>                 URL: https://issues.apache.org/jira/browse/FLINK-8901
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Nico Kruber
>            Assignee: Till Rohrmann
>            Priority: Blocker
>              Labels: flip-6, pull-request-available
>             Fix For: 1.5.0
>
>
> If (with FLIP-6) a per-job YARN session is created without specifying the 
> number of nodes, it will show up as "Flink session with 1 TaskManagers", e.g. 
> this job:
> {code}
> ./bin/flink run -m yarn-cluster -yjm 768 -ytm 3072 -ys 2 -p 20 -c 
> org.apache.flink.streaming.examples.wordcount.WordCount 
> ./examples/streaming/WordCount.jar --input /usr/share/doc/rsync-3.0.6/COPYING
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to