yarn-site.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0"?>
  2. <!--
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License. See accompanying LICENSE file.
  12. -->
  13. <configuration>
  14. <property>
  15. <name>yarn.nodemanager.pmem-check-enabled</name>
  16. <value>false</value>
  17. </property>
  18. <property>
  19. <name>yarn.nodemanager.vmem-check-enabled</name>
  20. <value>false</value>
  21. </property>
  22. <property>
  23. <description>The minimum allocation for every container request at the RM,
  24. in MBs. Memory requests lower than this will throw a
  25. InvalidResourceRequestException.</description>
  26. <name>yarn.scheduler.minimum-allocation-mb</name>
  27. <value>1024</value>
  28. </property>
  29. <property>
  30. <description>The maximum allocation for every container request at the RM,
  31. in MBs. Memory requests higher than this will throw a
  32. InvalidResourceRequestException.</description>
  33. <name>yarn.scheduler.maximum-allocation-mb</name>
  34. <value>2048</value>
  35. </property>
  36. <property>
  37. <name>yarn.nodemanager.aux-services</name>
  38. <value>mapreduce_shuffle</value>
  39. </property>
  40. <property>
  41. <name>yarn.nodemanager.aux-services.mapreduce.shuffle.class</name>
  42. <value>org.apache.hadoop.mapred.ShuffleHandler</value>
  43. </property>
  44. <property>
  45. <name>yarn.resourcemanager.address</name>
  46. <value>192.168.199.27:8032</value>
  47. </property>
  48. <property>
  49. <name>yarn.resourcemanager.scheduler.address</name>
  50. <value>192.168.199.27:8030</value>
  51. </property>
  52. <property>
  53. <name>yarn.resourcemanager.resource-tracker.address</name>
  54. <value>192.168.199.27:8035</value>
  55. </property>
  56. <property>
  57. <name>yarn.resourcemanager.admin.address</name>
  58. <value>192.168.199.27:8033</value>
  59. </property>
  60. <property>
  61. <name>yarn.resourcemanager.webapp.address</name>
  62. <value>192.168.199.27:8088</value>
  63. </property>
  64. </configuration>