hadoop 查看 mr日志报错

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

内容简介:通过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没有日志


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

查看所有标签

猜你喜欢:

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

搜索引擎

搜索引擎

(美)克罗夫特 / 机械工业出版社 / 2009-10 / 45.00元

《搜索引擎:信息检索实践(英文版)》介绍了信息检索(1R)中的关键问题。以及这些问题如何影响搜索引擎的设计与实现,并且用数学模型强化了重要的概念。对于网络搜索引擎这一重要的话题,书中主要涵盖了在网络上广泛使用的搜索技术。 《搜索引擎:信息检索实践(英文版)》适用于高等院校计算机科学或计算机工程专业的本科生、研究生,对于专业人士而言,《搜索引擎:信息检索实践(英文版)》也不失为一本理想的入门教......一起来看看 《搜索引擎》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

MD5 加密
MD5 加密

MD5 加密工具

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

html转js在线工具