Apache Flink无法以群集模式启动

时间:2016-05-23 14:30:12

标签: java amazon-ec2 apache-flink amazon-emr

我尝试在Amazon EMR上安装Flink,其中包含1个Master&amp; 2个核心节点。在flink-conf.yaml文件中,我设置了 jobmanager.rpc.address = EMR-MASTERDNS &amp; taskmanager.numberOfTaskSlots = 2 ...然后我在从属文件中添加了2个核心节点的公共IP ..我为核心节点做了所有相同的活动......但当我通过./bin/start-cluster.sh&amp;然后我打开了Flink仪表板,它说 taskmanagers = 0,taskslots = 0 ...我试过执行Flink java程序,它抛出错误:org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: Not enough free slots available to run the job. You can decrease the operator parallelism or increase the number of slots per TaskManager in the configuration. Task to schedule: < Attempt #0 Resources available to scheduler: Number of instances=0, total number of slots=0, available slots=0 ...什么是正确的在群集上启动Flink所需的配置,即在分布式模式下?

0 个答案:

没有答案