ddfeiyu opened a new issue, #1786: URL: https://github.com/apache/incubator-seatunnel/issues/1786
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened ProgramInvocationException occurs when submitting a flink streaming task ### SeaTunnel Version 2.1.0-release ### SeaTunnel Config ```conf # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ###### ###### This config file is a demonstration of streaming processing in SeaTunnel config ###### env { # You can set flink configuration here execution.parallelism = 1 #execution.checkpoint.interval = 10000 #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint" } source { # This is a example input plugin **only for test and demonstrate the feature input plugin** FakeSourceStream { result_table_name = "fake" field_name = "name,age" } # If you would like to get more information about how to configure seatunnel and see full list of input plugins, # please go to https://seatunnel.apache.org/docs/flink/configuration/source-plugins/Fake } transform { sql { sql = "select name,age from fake" } # If you would like to get more information about how to configure seatunnel and see full list of filter plugins, # please go to https://seatunnel.apache.org/docs/flink/configuration/transform-plugins/Sql } sink { ConsoleSink {} # If you would like to get more information about how to configure seatunnel and see full list of output plugins, # please go to https://seatunnel.apache.org/docs/flink/configuration/sink-plugins/Console } ``` ### Running Command ```shell ./bin/start-seatunnel-flink.sh --config ./config/flink.streaming.conf ``` ### Error Exception ```log [INFO] Loading config file: ./config/flink.streaming.conf ------------------------------------------------------------ The program finished with the following exception: org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: The old planner has been removed in Flink 1.14. Please upgrade your table program to use the default planner (previously called the 'blink' planner). at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372) at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222) at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114) at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:812) at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:246) at org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1054) at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1132) at org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28) at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1132) Caused by: org.apache.flink.table.api.TableException: The old planner has been removed in Flink 1.14. Please upgrade your table program to use the default planner (previously called the 'blink' planner). at org.apache.flink.table.api.EnvironmentSettings$Builder.useOldPlanner(EnvironmentSettings.java:238) at org.apache.seatunnel.flink.FlinkEnvironment.createStreamTableEnvironment(FlinkEnvironment.java:115) at org.apache.seatunnel.flink.FlinkEnvironment.prepare(FlinkEnvironment.java:82) at org.apache.seatunnel.flink.FlinkEnvironment.prepare(FlinkEnvironment.java:44) at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:203) at org.apache.seatunnel.config.ConfigBuilder.<init>(ConfigBuilder.java:67) at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:96) at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:63) at org.apache.seatunnel.SeatunnelFlink.main(SeatunnelFlink.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355) ... 8 more ``` ### Flink or Spark Version _No response_ ### Java or Scala Version flink v1.13.6 ### Screenshots _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
