虚拟机yarn配置

yarn-site.xml

        <property>
		<name>yarn.nodemanager.aux-services</name>
		<value>mapreduce_shuffle</value>
	</property>
	<property>
		<name>yarn.nodemanager.resource.memory-mb</name>
		<value>2048</value>
	</property>

mapred-site.xml

   <property>
    <name>yarn.app.mapreduce.am.resource.mb</name>
    <value>512</value>
  </property>


你可能感兴趣的:(虚拟机yarn配置)