zoukankan      html  css  js  c++  java
  • 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,历史的不可查看。

     
  • 相关阅读:
    ElementUi
    Vue插件
    Vue-cli
    Vue进阶
    Vue组件
    Vue生命期钩子
    Vue基础
    Vue介绍
    logging模块
    time模块
  • 原文地址:https://www.cnblogs.com/mrma/p/13054059.html
Copyright © 2011-2022 走看看