Closed macdoor closed 6 months ago
Flink CDC 2.0. is compiled against Flink 1.13.1, this may happen if the Flink 1.13.1 is not compatible with Flink 1.14.0, it's not a bug causing be Flink CDC or Flink, what we can do is pushing the Flink's version more stable in Flink community, Or we need to offer a Flink CDC 2.0. that compiled against Flink 1.14.
@leonardBang you are right, this is not a bug. need to offer a Flink CDC 2.0.* that compiled against Flink 1.14.
we are facing the same problem, i choose flink-cdc 2.0.2 and flink 1.14, not successful. changing flink to 1.13.1 just works
的确不行,flink-sql-connector-mysql-cdc-2.1.0 放进来就报错。
Exception in thread "main" org.apache.flink.table.client.SqlClientException: Unexpected exception. This is a bug. Please consider filing an issue.
at org.apache.flink.table.client.SqlClient.startClient(SqlClient.java:201)
at org.apache.flink.table.client.SqlClient.main(SqlClient.java:161)
Caused by: org.apache.flink.table.api.TableException: Could not instantiate the executor. Make sure a planner module is on the classpath
at org.apache.flink.table.client.gateway.context.ExecutionContext.lookupExecutor(ExecutionContext.java:165)
at org.apache.flink.table.client.gateway.context.ExecutionContext.createTableEnvironment(ExecutionContext.java:114)
at org.apache.flink.table.client.gateway.context.ExecutionContext.
flink 1.14 does not compatible with 1.13
How is the problem? I am facing the same problem, too. I use flink-sql-connector-mysql-cdc-2.2.0.jar, but the problem exsits, too. 1, I use flink-1.14.3 2, put flink-format-changelog-json-2.0.2.jar and flink-sql-connector-mysql-cdc-2.2.0.jar into flink/lib dir. 3, execute sql-client.sh and get exception flink-sql-connector-mysql-cdc-2.2.0.jar is mentioned compiled with 1.14, but the problem exsits. I think the problem is in flink-format-changelog-json-2.0.2.jar , when I only put flink-format-changelog-json-2.0.2.jar into flink/lib dir, and execute sql-client.sh, the problem happens. But I dont see any update with the problem https://github.com/ververica/flink-cdc-connectors/pull/756
Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink
with component tag Flink CDC
. Thank you!