flink报错Could not acquire the minimum required resources.解决方案
有时候在flinksql中执行select会报错如下:
[ERROR] Could not execute SQL statement. Reason:
org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException:
Could not acquire the minimum required resources.
报错含义是:不能提供job运行需要的最小资源
解决方法是修改配置文件 flink-conf.yaml,重新设置任务槽的数量
taskmanager.numberOfTaskSlots: 50
浙公网安备 33010602011771号