异常的根因是org.apache.flink.util.FlinkRuntimeException,错误信息为:"Could not execute application....
Caused by: org.apache.flink.util.FlinkRuntimeException: Could not execute application.at org.apache.flink.client.deployment.application.DetachedApplicationRunner.tryExecuteJobs(DetachedApplicationRunner.java:88)at org.apache.flink.client.deployment.application.DetachedApplicationRunner.run(DetachedApplicationRunner.j...
现象2:开发环境IDE里调试运行都ok,采用idea打包,部署到flink服务器上运行报如下错误: org.apache.flink.util.FlinkRuntimeException: Could not execute application. at org.apache.flink.client.deployment.application.DetachedApplicationRunner.tryExecuteJobs(DetachedApplicationRunner.java:88) at org.apache.flink.clien...
报错场景:flink程序原先布置在服务器上,在本地调试时,执行到 env.excute() 时在本地启动程序报错:No ExecutorFactory found to execute the application。 解决办法:在pom文件中,添加flink客户端的依赖 <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-clients_2.11</artifactId> --2.11是fli...
Flink 1.17运行程序报错:No ExecutorFactory found to execute the application. 报错 java.lang.IllegalStateException: No ExecutorFactory found to execute the application. 解决办法 因为是本地运行,不需要提交到flink集群中运行,所以将下面的provided注释掉。
flink1.11报错No ExecutorFactory found to execute the application,使用flink1.11版本时,报错:NoExecutorFactoryfoundtoexecutetheapplication查找maven下载的依赖,发现没有下载flink-clients的依赖,估计是flink-streaming-java中没有该依赖,需要手动在pom文文件中
任务启动时异常:Could not deploy Yarn job cluster 任务启动时异常:Could not deploy Yarn job cluster 问题描述/异常栈 The program finished with the following exception: org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: Could not deploy Yarn job cluster. at...
Yarn管理下的Application模式 而对于Yarn管理下的Application模式,客户端只是进行jar包上传,以上executeProgram()将在集群侧执行(准确来说是Dispatcher启动过程中执行),分析如下: 首先,提交作业启动集群(yarn和K8s才支持如下命令,Standalone集群需要直接提交作业到JM上) ...
在flink1.10升级1.11时遇到了No ExecutorFactory found to execute the application错误: 经过搜索,在Flink中文邮件列表里找到答案。 根据链接在Flink的Release Note中找到 从Flink1.11开始,移除了flink-streaming-java对flink-clients的依赖,所以加上这个依赖就好了。
我找到了错误发生的原因,我添加了依赖flink-clients。我将Flink从1.10升级到1.11,只是编辑了Flink的...