You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/05/15 10:04:04 UTC

[jira] [Assigned] (FLINK-6581) Dynamic property parsing broken for YARN

     [ https://issues.apache.org/jira/browse/FLINK-6581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till Rohrmann reassigned FLINK-6581:
------------------------------------

    Assignee: Till Rohrmann

> Dynamic property parsing broken for YARN
> ----------------------------------------
>
>                 Key: FLINK-6581
>                 URL: https://issues.apache.org/jira/browse/FLINK-6581
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>
> The dynamic property parsing in YARN is broken. For example, the following dynamic property won't be parsed properly: {{-yDenv.java.opts="-DappName=foobar -Did=1"}}. The result will be equivalent to {{-yDenv.java.opts="-DappName"}}.
> The problem is that {{FlinkYarnSessionCli#getDynamicProperties}} assumes that all dynamic properties have the form {{-D<KEY>=<VALUE>}} where {{<VALUE>}} does not contain any {{=}}.
> I propose to change the parsing of the dynamic properties string such that it splits the key-value pair not via {{dynamicProperties.split("=")}} but that we split  the dynamic properties string at the first occurrence of the {{=}}.



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