flink1.11中Application 模式提交任务 yarn报错

flink1.11中Application模式提交任务到yarn时,提示报错信息:

java.lang.RuntimeException:Couldn’t deploy Yarn session cluster

The YARN application unexpectedly switched to state FAILED during deployment.

解决办法:

错误原因:虚拟内存超过限制
处理方式:yarn-site.xml中注释以下内容:


  yarn.nodemanager.vmem-check-enabled
  false

 

你可能感兴趣的:(大数据,flink,application,大数据)