spark利用yarn提交任务报:YARN

spark用yarn提交使命会报
error cluster.yarnclientschedulerbackend: yarn application has exited unexpectedly with state undefined! check the yarn application logs for more details.
error cluster.yarnclientschedulerbackend: diagnostics message: shutdown hook called before final status was reported.



只需要将hadoop集群的yarn-site.xml装备中参加如下两行即可处理:

property
  name yarn.nodemanager.pmem-check-enabled /name
  value false /value
/property
property
  name yarn.nodemanager.vmem-check-enabled /name
  value false /value
/property








假如你用的java8,则多会报此过错。

Back to Top
风格切换
颜色选择