Flink集群启动报错 org.apache.flink.client.deployment.ClusterDeploymentException

org.apache.flink.client.deployment.ClusterDeploymentException Couldn’t deploy Yarn

出现此类错误,主要的原因是Current usage: 75.1 MB of 1 GB physical memory used; 2.1 GB of 2.1 GB virtual memor
y used. Killing container.

字面原因是容器内存不够,实际上是flink on yarn启动时检查虚拟内存造成的

所以修改配置文件,让它不检查就没事了

修改etc/hadoop/yarn-site.xml

 

    yarn.nodemanager.vmem-check-enabled 

    false 

 

你可能感兴趣的:(Flink,flink)