You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/29 01:01:39 UTC

[jira] [Commented] (FLINK-3293) Custom Application Name on YARN is ignored in deploy jobmanager mode

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

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

GitHub user jkirsch opened a pull request:

    https://github.com/apache/flink/pull/1558

    [FLINK-3293] Respect custom cli yarn name in jobmanager mode

    Added a method to set a default application name for the flink yarn session cli.
    Switched the order, such that this name can now be overwritten by the command line.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jkirsch/flink FLINK-3293

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1558.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1558
    
----
commit c4a75c175d0efa88302001bc0c28e337bfbbf76b
Author: Johannes <jk...@gmail.com>
Date:   2016-01-28T23:59:49Z

    [FLINK-3293] Respect custom cli yarn name in jobmanager mode
    
    Added a method to set a default application name for the flink yarn session cli.
    Switched the order, such that this name can now be overwritten by the command line.

----


> Custom Application Name on YARN is ignored in deploy jobmanager mode
> --------------------------------------------------------------------
>
>                 Key: FLINK-3293
>                 URL: https://issues.apache.org/jira/browse/FLINK-3293
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN Client
>    Affects Versions: 0.10.1
>            Reporter: Johannes
>            Priority: Minor
>
> FLINK-2298 introduced a custom name for the job.
> This is ignored when the yarn application is started as part of the job submission, e.g.
>    flink run -m yarn-cluster -ynm myname
> It is always set using the classname as program name
>     flinkYarnClient.setName("Flink Application: " + programName);
> The client get's constructed using
>    AbstractFlinkYarnClient flinkYarnClient = CliFrontendParser.getFlinkYarnSessionCli().createFlinkYarnClient(commandLine);
> So the name will be parsed correctly, it is just overwritten.
> This should be a fallback, when no name is provided



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)