Log aggregation has not completed or is not enabled.

Posted maoxiangyi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Log aggregation has not completed or is not enabled.相关的知识,希望对你有一定的参考价值。

打算下载flink程序的日志看看,发现报错:

yarn application -list -appStates ALL |grep Flink

yarn logs -applicationId application_1554280683684_749610

Log aggregation has not completed or is not enabled.


解决:yarn-site.xml 配置文件中少配置了一项

<property>

      <description>Whether to enable log aggregation</description>

      <name>yarn.log-aggregation-enable</name>

      <value>true</value>

  </property>

以上是关于Log aggregation has not completed or is not enabled.的主要内容,如果未能解决你的问题,请参考以下文章