[
https://issues.apache.org/jira/browse/FLINK-34257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junrui Li updated FLINK-34257:
------------------------------
Description:
FLINK-33364 and FLINK-33577 added snakeyaml and pyyaml dependencies to support
a standard YAML parser. However, these parsers support the YAML 1.1
specification rather than the YAML 1.2 specification, which is the version
referenced by [FLINK official
website|https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#configuration].
Therefore, we need to update these dependencies that support YAML 1.2.
The updated dependencies are as follows:
1. For Java: change from snakeyaml to snakeyaml-engine
2. For Python: change from pyyaml to ruamel.yaml
was:
FLINK-33364 and FLINK-33577 added snakeyaml and pyyaml dependencies to support
a standard YAML parser. However, these parsers support the YAML 1.1
specification, not the YAML 1.2 specification. Therefore, we need to update
these dependencies that support YAML 1.2.
The updated dependencies are as follows:
1. For Java: change from snakeyaml to snakeyaml-engine
2. For Python: change from pyyaml to ruamel.yaml
> Update Flink YAML Parser to Support YAML 1.2 Specification
> -----------------------------------------------------------
>
> Key: FLINK-34257
> URL: https://issues.apache.org/jira/browse/FLINK-34257
> Project: Flink
> Issue Type: Bug
> Components: API / Core, Runtime / Configuration
> Reporter: Junrui Li
> Assignee: Junrui Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.19.0
>
>
> FLINK-33364 and FLINK-33577 added snakeyaml and pyyaml dependencies to
> support a standard YAML parser. However, these parsers support the YAML 1.1
> specification rather than the YAML 1.2 specification, which is the version
> referenced by [FLINK official
> website|https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#configuration].
> Therefore, we need to update these dependencies that support YAML 1.2.
> The updated dependencies are as follows:
> 1. For Java: change from snakeyaml to snakeyaml-engine
> 2. For Python: change from pyyaml to ruamel.yaml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)