hadoop mr 执行完毕,无法查看日志
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,历史的不可查看。
相关推荐
changjiang 2020-11-16
minerd 2020-10-28
WeiHHH 2020-09-23
Aleks 2020-08-19
WeiHHH 2020-08-17
飞鸿踏雪0 2020-07-26
tomli 2020-07-26
deyu 2020-07-21
strongyoung 2020-07-19
eternityzzy 2020-07-19
Elmo 2020-07-19
飞鸿踏雪0 2020-07-09
飞鸿踏雪0 2020-07-04
xieting 2020-07-04
WeiHHH 2020-06-28
genshengxiao 2020-06-26
Hhanwen 2020-06-25