You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "skymilong (Jira)" <ji...@apache.org> on 2024/03/30 13:23:00 UTC

[jira] [Updated] (FLINK-34969) Error due to Flink CDC using deprecated flink-conf.yaml in light of Flink's full YAML 1.2 support since version 1.19

     [ https://issues.apache.org/jira/browse/FLINK-34969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

skymilong updated FLINK-34969:
------------------------------
    Description: 
Steps to Reproduce
1. Upgrade to Flink version 1.19 or later where full YAML 1.2 support is introduced.
2. Attempt to run a Flink CDC job using the latest version of Flink CDC, which still references the `flink-conf.yaml` file.
3.  Using flink-cdc.sh script : 

bin/flink-cdc.sh mysql2doris.yaml

exception: 
Exception in thread "main" java.io.FileNotFoundException: Cannot find configuration file at "/opt/flink/conf/flink-conf.yaml"



 

  was:
Steps to Reproduce
1. Upgrade to Flink version 1.19 or later where full YAML 1.2 support is introduced.
2. Attempt to run a Flink CDC job using the latest version of Flink CDC, which still references the `flink-conf.yaml` file.
3.  Using flink-cdc.sh script : 
```shell
bin/flink-cdc.sh mysql2doris.yaml
``` 
exception: 
```java
Exception in thread "main" java.io.FileNotFoundException: Cannot find configuration file at "/opt/flink/conf/flink-conf.yaml"
``` 

 


> Error due to Flink CDC using deprecated flink-conf.yaml in light of Flink's full YAML 1.2 support since version 1.19
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-34969
>                 URL: https://issues.apache.org/jira/browse/FLINK-34969
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>         Environment: - Flink Version: 1.19.0
> - Flink CDC Version: flink-cdc-3.0.1
>            Reporter: skymilong
>            Priority: Major
>
> Steps to Reproduce
> 1. Upgrade to Flink version 1.19 or later where full YAML 1.2 support is introduced.
> 2. Attempt to run a Flink CDC job using the latest version of Flink CDC, which still references the `flink-conf.yaml` file.
> 3.  Using flink-cdc.sh script : 
> bin/flink-cdc.sh mysql2doris.yaml
> exception: 
> Exception in thread "main" java.io.FileNotFoundException: Cannot find configuration file at "/opt/flink/conf/flink-conf.yaml"
>  



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