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

Yang Wang commented on FLINK-15053:
-----------------------------------

[~xintongsong] Thanks for creating this ticket. I think it just because we have 
introduced many updated configs from 1.10. These configs may contains some 
characters need to be escaped. FLINK-13184 uses dynamic properties instead of 
always uploading a taskmanage-conf.yam file to dfs.

For the solution, i think we always use single quotes for the values. If the 
value contains single quote, it needs to be escaped. For example, `{{-D 
taskmanager.memory.managed.size='1234 bytes' -D key1='value\'xxxx\'yyyy'`.}}

> Configurations with values contains space may cause TM failures on Yarn
> -----------------------------------------------------------------------
>
>                 Key: FLINK-15053
>                 URL: https://issues.apache.org/jira/browse/FLINK-15053
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / YARN, Runtime / Coordination
>    Affects Versions: 1.10.0
>            Reporter: Xintong Song
>            Priority: Major
>             Fix For: 1.10.0
>
>
> Currently on Yarn setups, we are passing task executor specific 
> configurations through dynamic properties in the starting command (see 
> FLINK-13184).
> If the value of configuration contains space, the dynamic properties may not 
> be correctly parsed, which could cause task executor failures. On occurrence 
> can be found in FLINK-15047.
> It would be good to allow spaces when passing dynamic properties. E.g., 
> surrounding the values with double quotation marks, or escaping special 
> characters.
> cc [~fly_in_gis]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to