首页 > 其他 > 详细

hadoop mr 执行完毕,无法查看日志

时间:2020-06-06 13:51:52      阅读:103      评论:0      收藏:0      [点我收藏+]
Failed redirect for xxxxxxxxxxx
Failed while trying to construct the redirect url to the log server. Log Server url may not be configured Unknown container. Container either has not started or has already completed or doesn‘t belong to this node at all.

需要在mapred-site.xml 中添加
<name>mapreduce.jobhistory.address </name>
<value>hostName:10020</value>

<name>mapreduce.jobhistory.webapp.address</name>
<value>hostName:19888</value>

在 yarn-site.xml中添加

<property>
         <name>yarn.log.server.url</name>
         <value>http://hostName:19888/jobhistory/logs</value>
</property>

然后重新启动yarn,历史的不可查看。

 

hadoop mr 执行完毕,无法查看日志

原文:https://www.cnblogs.com/mrma/p/13054059.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!