Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.18.0
-
None
Description
Problem
The following configs are supposed to be supported:
env.java.opts.all |
(none) | String | Java options to start the JVM of all Flink processes with. |
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.