Update Hadoop集群环境搭建.md
This commit is contained in:
parent
3f8d6a158e
commit
95c4e31d5f
@ -139,16 +139,17 @@ export JAVA_HOME=/usr/java/jdk1.8.0_201/
|
|||||||
#### 4. yarn-site.xml
|
#### 4. yarn-site.xml
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<property>
|
<configuration>
|
||||||
<!--配置NodeManager上运行的附属服务。需要配置成mapreduce_shuffle后才可以在Yarn上运行MapReduce程序。-->
|
<property>
|
||||||
<name>yarn.nodemanager.aux-services</name>
|
<!--配置NodeManager上运行的附属服务。需要配置成mapreduce_shuffle后才可以在Yarn上运行MapReduce程序。-->
|
||||||
<value>mapreduce_shuffle</value>
|
<name>yarn.nodemanager.aux-services</name>
|
||||||
</property>
|
<value>mapreduce_shuffle</value>
|
||||||
<property>
|
</property>
|
||||||
<!--resourcemanager的主机名-->
|
<property>
|
||||||
<name>yarn.resourcemanager.hostname</name>
|
<!--resourcemanager的主机名-->
|
||||||
<value>hadoop001</value>
|
<name>yarn.resourcemanager.hostname</name>
|
||||||
</property>
|
<value>hadoop001</value>
|
||||||
|
</property>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user