当前位置:网站首页>Flink Exception -- No ExecutorFactory found to execute the application
Flink Exception -- No ExecutorFactory found to execute the application
2022-06-30 08:28:00 【//承续缘_纪录片】
一、问题描述
Flink 1.11 开始报错如下:
Exception in thread "main" java.lang.IllegalStateException: No ExecutorFactory found to execute the application.
at org.apache.flink.core.execution.DefaultExecutorServiceLoader.getExecutorFactory(DefaultExecutorServiceLoader.java:84)
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.executeAsync(StreamExecutionEnvironment.java:1801)
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1711)
at org.apache.flink.streaming.api.environment.LocalStreamEnvironment.execute(LocalStreamEnvironment.java:74)
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1697)
at com.ishansong.bigdata.SqlKafka.main(SqlKafka.java:54)
二、问题原因
缺少 flink-client jar
三、解决方案
引入 flink-client jar即可
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients_2.11</artifactId>
<version>${flink.version}</version>
</dependency>
边栏推荐
- 【NVMe2.0b 14-7】Set Features(上篇)
- Opencv image
- Redis设计与实现(八)| 事务
- TP5 set direct download file
- Redis设计与实现(二)| 数据库(删除策略&过期淘汰策略)
- TiDB 6.0:让 TSO 更高效丨TiDB Book Rush
- Using typera+picgo to realize automatic uploading of markdown document pictures
- 1. Problems related to OpenGL window and environment configuration
- Niuke White Moon race 52
- 跳槽字节跳动很难嘛?掌握这些技巧,你也能轻松通过
猜你喜欢
![[nvme2.0b 14-7] set features (Part 1)](/img/0d/c26ae2475ae69291d83b4096ea942b.png)
[nvme2.0b 14-7] set features (Part 1)

Environment configuration of ROS Aubo manipulator

vim 从嫌弃到依赖(21)——跨文件搜索

【kotlin 协程】万字协程 一篇完成kotlin 协程进阶

Deploy the cow like customer network project on the ECS

Redis design and Implementation (III) | interaction between server and client (event IO model)

Gilbert Strang's course notes on linear algebra - Lesson 3

What are the Amazon evaluation terms?

TiDB 6.0:让 TSO 更高效丨TiDB Book Rush

【NVMe2.0b 14-2】Create/Delete Queue
随机推荐
Introduction to opencv (II): image color space conversion and image saving
【NVMe2.0b 14-2】Create/Delete Queue
Unit Test
Deploy the cow like customer network project on the ECS
Getordefault method of map class
C# ListBox如何获取选中的内容(搜了很多无效的文章)
Qqquickpainteditem implements graffiti program drawing board
亚马逊测评术语有哪些?
Camera
Map,String,Json之間轉換
Redis design and Implementation (IV) | master-slave replication
Game 280 problem2: minimum operands to turn an array into an alternating array
[untitled]
Oracle expansion table space installed in docker
MySQL cannot connect to the intranet database
文件上传 upload 组件 on-success 事件,添加自定义参数
Enhance the add / delete operation of for loop & iterator delete collection elements
小心transmittable-thread-local的这个坑
Gilbert Strang's course notes on linear algebra - Lesson 4
MIME type Encyclopedia