Hadoop的jobhistoryserver配置

配置mapred-site.xml

<configuration>

<property>

  <name>mapreduce.framework.name</name>

  <value>yarn</value>

</property>

<property>

  <name>mapreduce.jobhistory.address</name>

  <value>master:10020</value>

  <description>MapReduce JobHistory Server IPC host:port</description>

</property>

<property>

  <name>mapreduce.jobhistory.webapp.address</name>

  <value>master:19888</value>

  <description>MapReduce JobHistory Server Web UI host:port</description>

</property>

</configuration>

然后就可以通过http://master:19888访问jobhistory的web管理界面了

原文地址:https://www.cnblogs.com/code4app/p/9316303.html