[
https://issues.apache.org/jira/browse/FLINK-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15888704#comment-15888704
]
ASF GitHub Bot commented on FLINK-5253:
---------------------------------------
Github user EronWright commented on the issue:
https://github.com/apache/flink/pull/3356
Would you mind having a look at `GlobalConfiguration.dynamicProperties`,
which is set by the main method of various Flink processes based on CLI
arguments. The `GlobalConfiguration.loadConfiguration` method (which loads
the YAML config) treats the dynamic properties as overrides to the config
entries. This feature is necessary because `loadConfiguration` is used all
over the place.
Just bringing it to your attention in case there's some interplay.
> Remove special treatment of "dynamic properties"
> ------------------------------------------------
>
> Key: FLINK-5253
> URL: https://issues.apache.org/jira/browse/FLINK-5253
> Project: Flink
> Issue Type: Sub-task
> Components: YARN
> Environment: {{flip-6}} feature branch
> Reporter: Stephan Ewen
> Labels: flip-6
>
> The YARN client accepts configuration keys as command line parameters.
> Currently these are send to the AppMaster and TaskManager as "dynamic
> properties", encoded in a special way via environment variables.
> The mechanism is quite fragile. We should simplify it:
> - The YARN client takes the local {{flink-conf.yaml}} as the base.
> - It overwrite config entries with command line properties when preparing
> the configuration to be shipped to YARN container processes (JM / TM)
> - No additional handling neccessary
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)