1、YARN配置
$cd /opt/software/hadoop-2.8.1/etc/hadoop
$vi yarn-site.xml
![](https://img.haomeiwen.com/i11610252/9708af0ebc45cc34.png)
2、MapReduce配置
$cp mapred-site.xml.template mapred-site.xml
$vi mapred-site.xml
![](https://img.haomeiwen.com/i11610252/a63535b9d2e4e985.png)
3、启动、查看进程
![](https://img.haomeiwen.com/i11610252/4e28532c10716db3.png)
4、测试和查看
YARN远程监控页面:http://192.168.205.132:8088/cluster
NameNode信息远程监控页面:http://192.168.205.132:50070
![](https://img.haomeiwen.com/i11610252/e6fe49fff88bd4a7.png)
![](https://img.haomeiwen.com/i11610252/165190e53180cc65.png)
网友评论