Slot request bulk is not fulfillable! Could not allocate the required slot within slot request timeout 作者:马育民 • 2022-10-02 22:28 • 阅读:10844 # 描述问题 启动 flink 程序,过好长时间提示下面错误: ``` Slot request bulk is not fulfillable! Could not allocate the required slot within slot request timeout ``` ### 分析 1. 如果是运行 flink自带的程序,可能是 slot 资源不够 2. 如果是 自己的打包程序,可能将 flink 自带的包 打进去了,导致冲突 ### 解决 1 查看 `conf/flink-conf.yaml` 文件 ``` vim conf/flink-conf.yaml ``` 找到下面配置: ``` taskmanager.numberOfTaskSlots: 2 ``` 相当于 taskmanager 有 `2` 个线程执行 **注意:** 这里的数量不要改大,可能会因为虚拟机配置低,导致启动 flink 应用时,无法申请 slots ### 解决 2 如果是 自己的打包程序,可能将 flink 自带的包 打进去了,导致冲突,参看 [链接](https://www.malaoshi.top/show_1IX4DL1KJUkR.html "链接") ,将自带的包加上 `provided` 原文出处:http://malaoshi.top/show_1IX49kiNyHgG.html