yarn-site.xml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <configuration>
  2. <property>
  3. <name>yarn.nodemanager.env-whitelist</name>
  4. <value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_MAPRED_HOME</value>
  5. </property>
  6. <property>
  7. <name>yarn.acl.enable</name>
  8. <value>0</value>
  9. </property>
  10. <property>
  11. <name>yarn.resourcemanager.hostname</name>
  12. <value>localhost</value>
  13. </property>
  14. <property>
  15. <name>yarn.nodemanager.address</name>
  16. <value>localhost:45999</value>
  17. </property>
  18. <property>
  19. <name>yarn.nodemanager.aux-services</name>
  20. <value>mapreduce_shuffle</value>
  21. </property>
  22. <property>
  23. <name>yarn.resourcemanager.address</name>
  24. <value>127.0.0.1:8032</value>
  25. </property>
  26. <property>
  27. <name>yarn.resourcemanager.scheduler.address</name>
  28. <value>127.0.0.1:8030</value>
  29. </property>
  30. <property>
  31. <name>yarn.resourcemanager.resource-tracker.address</name>
  32. <value>127.0.0.1:8031</value>
  33. </property>
  34. <property>
  35. <name>yarn.scheduler.maximum-allocation-mb</name>
  36. <value>3072</value>
  37. </property>
  38. <property>
  39. <name>yarn.scheduler.minimum-allocation-mb</name>
  40. <value>1024</value>
  41. </property>
  42. <property>
  43. <name>yarn.nodemanager.resource.cpu-vcores</name>
  44. <value>2</value>
  45. </property>
  46. <property>
  47. <name>yarn.nodemanager.resource.memory-mb</name>
  48. <value>3072</value>
  49. </property>
  50. </configuration>