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>

posted @ 2019-06-05 20:38  春江师兄  阅读(960)  评论(0编辑  收藏  举报