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

Junrui Lee commented on FLINK-37825:
------------------------------------

I think the issue is that your dev code does not adhere to standard YAML 
syntax: duplicate keys are not allowed.

Standard YAML does not allow duplicate keys in a map. It states that "The 
content of a mapping node is an unordered set of key/value node pairs, with the 
restriction that each of the keys is unique." For more details, please refer 
to: [https://yaml.org/spec/1.2.2/#nodes] or Flink doc:

[https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#migrate-from-flink-confyaml-to-configyaml]

 

> Standard YAML convert and dump failed
> -------------------------------------
>
>                 Key: FLINK-37825
>                 URL: https://issues.apache.org/jira/browse/FLINK-37825
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>    Affects Versions: 1.20.1
>            Reporter: melin
>            Priority: Major
>         Attachments: image-2025-05-21-21-20-35-658.png
>
>
> By adding hadoop parameters through the code, the startup has two keys 
> containing shortcircuit, resulting in the failure of submitting the yarn 
> cluster.
> !image-2025-05-21-21-20-35-658.png!
> !image-2025-05-19-17-20-14-702.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to