You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "yux (Jira)" <ji...@apache.org> on 2024/08/20 06:09:00 UTC

[jira] [Created] (FLINK-36105) CDC pipeline job could not restore from state in Flink 1.20

yux created FLINK-36105:
---------------------------

             Summary: CDC pipeline job could not restore from state in Flink 1.20
                 Key: FLINK-36105
                 URL: https://issues.apache.org/jira/browse/FLINK-36105
             Project: Flink
          Issue Type: Improvement
          Components: Flink CDC
            Reporter: yux


Currently, it is not possible to restore pipeline job with Flink 1.20 with the following exception:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/flink/runtime/jobgraph/RestoreMode
	at org.apache.flink.cdc.cli.CliFrontend.createSavepointRestoreSettings(CliFrontend.java:130)
	at org.apache.flink.cdc.cli.CliFrontend.createExecutor(CliFrontend.java:95)
	at org.apache.flink.cdc.cli.CliFrontend.main(CliFrontend.java:69)
Caused by: java.lang.ClassNotFoundException: org.apache.flink.runtime.jobgraph.RestoreMode
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	... 3 more

Seems the Flink API mentioned above has been changed.



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