参考 http://qnalist.com/questions/772595/yarn-jobhistory-service
在mapreduce-site.xml中添加
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
<property>
<name>mapreduce.jobhistory.address</name>
<value>master:10020</value>
</property>
<property>
<name>mapreduce.jobhistory.webapp.address</name>
<value>master:19888</value>
</property>
重启集群, 就可以在8088上看到任务了。