mapred-site.xml 696 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <configuration>
  3. <property>
  4. <name>mapreduce.framework.name</name>
  5. <value>yarn</value>
  6. </property>
  7. <property>
  8.   <name>mapreduce.map.memory.mb</name>
  9.   <value>640</value>
  10. <description>每个Map任务的物理内存限制</description>
  11. </property>
  12. <property>
  13.   <name>mapreduce.reduce.memory.mb</name>
  14.   <value>1280</value>
  15. <description>每个Reduce任务的物理内存限制</description>
  16. </property>
  17. <property>
  18.   <name>mapreduce.map.java.opts</name>
  19.   <value>-Xmx512M</value>
  20. </property>
  21. <property>
  22.   <name>mapreduce.reduce.java.opts</name>
  23.   <value>-Xmx1024M</value>
  24. </property>
  25. </configuration>