capacity-scheduler.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <configuration>
  2. <property>
  3. <name>yarn.scheduler.capacity.maximum-applications</name>
  4. <value>10000</value>
  5. <description>
  6. Maximum number of applications that can be pending and running.
  7. </description>
  8. </property>
  9. <property>
  10. <name>yarn.scheduler.capacity.maximum-am-resource-percent</name>
  11. <value>0.1</value>
  12. <description>
  13. Maximum percent of resources in the cluster which can be used to run
  14. application masters i.e. controls number of concurrent running
  15. applications.
  16. </description>
  17. </property>
  18. <property>
  19. <name>yarn.scheduler.capacity.root.queues</name>
  20. <value>default</value>
  21. <description>
  22. The queues at the this level (root is the root queue).
  23. </description>
  24. </property>
  25. <property>
  26. <name>yarn.scheduler.capacity.root.default.capacity</name>
  27. <value>100</value>
  28. <description>Default queue target capacity.</description>
  29. </property>
  30. <property>
  31. <name>yarn.scheduler.capacity.root.default.user-limit-factor</name>
  32. <value>1</value>
  33. <description>
  34. Default queue user limit a percentage from 0.0 to 1.0.
  35. </description>
  36. </property>
  37. <property>
  38. <name>yarn.scheduler.capacity.root.default.maximum-capacity</name>
  39. <value>100</value>
  40. <description>
  41. The maximum capacity of the default queue.
  42. </description>
  43. </property>
  44. <property>
  45. <name>yarn.scheduler.capacity.root.default.state</name>
  46. <value>RUNNING</value>
  47. <description>
  48. The state of the default queue. State can be one of RUNNING or STOPPED.
  49. </description>
  50. </property>
  51. <property>
  52. <name>yarn.scheduler.capacity.root.default.acl_submit_applications</name>
  53. <value>*</value>
  54. <description>
  55. The ACL of who can submit jobs to the default queue.
  56. </description>
  57. </property>
  58. <property>
  59. <name>yarn.scheduler.capacity.root.default.acl_administer_queue</name>
  60. <value>*</value>
  61. <description>
  62. The ACL of who can administer jobs on the default queue.
  63. </description>
  64. </property>
  65. <property>
  66. <name>yarn.scheduler.capacity.node-locality-delay</name>
  67. <value>-1</value>
  68. <description>
  69. Number of missed scheduling opportunities after which the CapacityScheduler
  70. attempts to schedule rack-local containers.
  71. Typically this should be set to number of racks in the cluster, this
  72. feature is disabled by default, set to -1.
  73. </description>
  74. </property>
  75. </configuration>