解決flink運行過程中報錯Could not allocate enough slots within timeout of 300000 ms to run the job. Please make sure that the cluster has enough resources.



Flink運行過程中報:

org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: Could not allocate enough slots within timeout of 300000 ms to run the job. Please make sure that the cluster has enough resources.

解決方案:

       調整Flink里面flink-conf.yaml里面的新增參數增加可支持的slot數量

taskmanager.network.memory.fraction: 0.1

taskmanager.network.memory.min: 268435456

taskmanager.network.memory.max: 4294967296


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM