[
https://issues.apache.org/jira/browse/FLINK-24223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811710#comment-17811710
]
Zhanghao Chen commented on FLINK-24223:
---------------------------------------
Closing it as Flink 2.0 has a plan to refactor the CLI command design
> Client should throw exception to warn users when the configurations set by
> program options conflict with those set by -D
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-24223
> URL: https://issues.apache.org/jira/browse/FLINK-24223
> Project: Flink
> Issue Type: Bug
> Components: Client / Job Submission
> Affects Versions: 1.11.0, 1.12.0, 1.13.0
> Reporter: Zhanghao Chen
> Priority: Minor
>
> h2. Problem
> Currently, program options (e.g. -d, -p) has high precedence over
> configuration options set by -D or -yD at client side. This may cause
> confusion for users, especially for those program options without args. For
> example, if a user sets -Dexecution.attached=false without setting -d (they
> may not be aware of the existence of this option), they will find that the
> configuration value does not take effect.
> h2. Proposal
> Client should throw exception to warn users when the configurations set by
> program options conflict with those set by -D.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)