本文主要是介绍NoResourceAvailableException: Could not allocate all requires slots within timeout of 300000 ms...,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
完整的报错信息:
org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: Could not allocate all requires slots within timeout of 300000 ms. Slots required: 3, slots allocated: 1, previous allocation...
没有资源可用,原因就是:项目设置的并行度大于集群的 slot 个数,导致抢夺资源,直到超时。要么增加 slot 个数,要么减少 Parallelism 个数。
这篇关于NoResourceAvailableException: Could not allocate all requires slots within timeout of 300000 ms...的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!