如运行wordcount后出现INFO client.RMProxy: Connecting to ResourceManager at 0.0.0.0:8032长时间不动,我尝试修改我的yarn-site.xml配置后可以成功运行
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>centos01:8032</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>centos01:8030</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>centos01:8031</value>
</property>
<property>
<name>yarn.resourcemanager.admin.address</name>
<value>centos01:8033</value>
</property>
<property>
<name>yarn.resourcemanager.webapp.address</name>
<value>centos01:8088</value>
</property>
<property>
<name>yarn.nodemanager.vmem-pmem-ratio</name>
<value>2.8</value>
</property>
</configuration>