Zhanghao Chen created FLINK-32983:
-------------------------------------
Summary: Support setting env.java.opts.all & env.java.opts.cli
configs via dynamic properties on the CLI side
Key: FLINK-32983
URL: https://issues.apache.org/jira/browse/FLINK-32983
Project: Flink
Issue Type: Improvement
Components: Command Line Client, Deployment / Scripts
Affects Versions: 1.18.0
Reporter: Zhanghao Chen
Fix For: 1.19.0
*Problem*
The following configs are supposed to be supported:
|h5. env.java.opts.all|(none)|String|Java options to start the JVM of all Flink
processes with.|
|h5. env.java.opts.client|(none)|String|Java options to start the JVM of the
Flink Client with.|
However, the two configs only takes effect on the Client side when they are set
in the flink-conf files. In other words, configs set via -D or-yD on the CLI
will not take effect, which is counter-intuitive and makes configuration less
flexible.
*Proposal*
Add logic to parse configs set via -D or-yD in config.sh and make them has a
higher precedence over configs set in flink-conf.yaml for env.java.opts.all &
env.java.opts.client.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)