hadoop web_ui_report

 

http://192.168.121.132:50070/

http://192.168.121.132:8088/cluster

http://192.168.121.132:19888/jobhistory

http://192.168.121.131:8042

 

配置文件修改

mapred-site.xml

<property>
   <name>mapreduce.jobhistory.address</name>
    <value>h201:10020</value>
    <description>MapReduce JobHistoryServer IPC host:port</description>
  </property>

  <property>
   <name>mapreduce.jobhistory.webapp.address</name>
    <value>h201:19888</value>
    <description>MapReduce JobHistoryServer Web UI host:port</description>
  </property>

 

yarn-site.xml

<property>  
 <name>yarn.resourcemanager.webapp.address</name>  
 <value>192.168.121.132:8088</value>  
</property>

<property>  
 <name>yarn.log-aggregation-enable</name>  
 <value>true</value>  
 <description>Configuration to enable or disable log aggregation</description>  
</property>

<property>
 <name>yarn.nodemanager.remote-app-log-dir</name>  
<value>/logs</value>  
<description>HDFS directory where the application logs are moved on application completion. Need to set appropriate permissions. Only applicable if log-aggregation is
enabled. The default value is "/logs" or "/tmp/logs"
</description>
</property>

<property>
 <name>yarn.log-aggregation.retain-seconds</name>
 <value>86400</value>
</property>

 

所有节点必须同时拥有,scp过去

目前依然存在jobhistory和application中无法查看history和log.显示无法访问从节点。

posted @ 2018-06-18 21:31  蜘蛛侠0  阅读(192)  评论(0编辑  收藏  举报