启用日志聚合时无法从Web App访问日志

时间:2015-06-17 18:03:21

标签: hadoop apache-spark yarn

我在YARN(2.6)上运行我的Spark应用程序。为了汇总日志,我将yarn.log-aggregation-enable设置为true

使用yarn logs -applicationId application_1434563132203_0001获取日志时没有任何问题。我能够检索作为应用程序

的一部分运行的3个容器的日志
mountain@mountain:~/sbook$ yarn logs -applicationId application_1434563132203_0001 | grep Container:
Container: container_1434563132203_0001_01_000003 on mountain_38524
Container: container_1434563132203_0001_01_000001 on mountain_38524
Container: container_1434563132203_0001_01_000002 on mountain_38524

当我尝试从Web App访问相同的日志时,我收到以下错误:

我转到资源管理器Web应用程序(localhost:8088),

enter image description here

点击我转到的链接后,

enter image description here

当我点击logs链接时,我在新页面中收到此错误消息

enter image description here

我是否需要启用任何配置才能从Web App访问我的日志?

0 个答案:

没有答案
相关问题