hadoop 查看 mr日志报错

栏目: 编程工具 · 发布时间: 7年前

内容简介:通过8088查看Applications任务的logs时,会报以下错误,Failed while trying to construct the redirect url to the log server.Log Server url may not be configured java.lang.Exception:Unknown container.Container either has not started or has already completed or doesn't belong t

通过8088查看Applications任务的logs时,会报以下错误,

Failed while trying to construct the redirect url to the log server.Log Server url may not be configured java.lang.Exception:Unknown container.Container either has not started or has already completed or doesn't belong to this node at all.

1,修改mapred-site.xml

<property>
 <name>mapreduce.jobhistory.address</name>
 <value>bigserver1:10020</value>
</property>

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

2,修改yarn-site.xml

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

3,在bigserver1启动mr history

[root@bigserver1 hadoop]# cd /bigdata/hadoop/sbin/
[root@bigserver1 sbin]# ./mr-jobhistory-daemon.sh start historyserver

如果有日志:

hadoop 查看 mr日志报错

container有日志

如果没有日志:

hadoop 查看 mr日志报错

container没有日志


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

编程大师访谈录

编程大师访谈录

Susan Lammers / 李琳骁、吴咏炜、张菁 / 人民邮电出版社 / 2012-1 / 59.00元

《编程大师访谈录》是对19位计算机行业先驱的采访实录,采访对象包括查尔斯•西蒙尼、比尔•盖茨、安迪•赫兹菲尔德、雷•奥奇、杰夫•拉斯金等。访谈涉及他们软件创造过程的灵感、技术、编程习惯、动机、反思,以及对未来软件的畅想等。问答中集结了这些计算机先驱的精辟言论,处处闪烁着智慧的火花。 《编程大师访谈录》适合IT从业人员阅读。一起来看看 《编程大师访谈录》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

html转js在线工具
html转js在线工具

html转js在线工具