内容简介:通过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
如果有日志:
container有日志
如果没有日志:
container没有日志
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
注意力经济: 如何把大众的注意力变成生意
吴修铭 / 中信出版集团股份有限公司 / 2018-4-1 / 69
编辑推荐 这本书由万维钢作序,并在《得到》日课中多次推荐!中文版未上市之前,中文前沿媒体就在力推这本书!关于注意力争夺战的历史和现在,作者给了权威的梳理和定位! 百年来,在争夺注意力的战场上,媒体、广告、商人、企业和大众成为博弈的主角。商人是如何在注意力争夺战中获利的?媒体是如何在改变报道形式的?广告是如何进化的?以及,营销是如何变得随处可见、无孔不入的呢?这本书讲述了令商人或企业从吸......一起来看看 《注意力经济: 如何把大众的注意力变成生意》 这本书的介绍吧!