mapred-queues.xml.template 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!-- This is a template file for queue acls configuration properties -->
  4. <configuration>
  5. <property>
  6. <name>mapred.queue.names</name>
  7. <value>default</value>
  8. <description> Comma separated list of queues configured for this jobtracker.
  9. Jobs are added to queues and schedulers can configure different
  10. scheduling properties for the various queues. To configure a property
  11. for a queue, the name of the queue must match the name specified in this
  12. value. Queue properties that are common to all schedulers are configured
  13. here with the naming convention, mapred.queue.$QUEUE-NAME.$PROPERTY-NAME,
  14. for e.g. mapred.queue.default.submit-job-acl.
  15. The number of queues configured in this parameter could depend on the
  16. type of scheduler being used, as specified in
  17. mapred.jobtracker.taskScheduler. For example, the JobQueueTaskScheduler
  18. supports only a single queue, which is the default configured here.
  19. Before adding more queues, ensure that the scheduler you've configured
  20. supports multiple queues.
  21. </description>
  22. </property>
  23. <property>
  24. <name>mapred.acls.enabled</name>
  25. <value>false</value>
  26. <description> Specifies whether ACLs are enabled, and should be checked
  27. for various operations.
  28. </description>
  29. </property>
  30. <property>
  31. <name>mapred.queue.default.acl-submit-job</name>
  32. <value>*</value>
  33. <description> Comma separated list of user and group names that are allowed
  34. to submit jobs to the 'default' queue. The user list and the group list
  35. are separated by a blank. For e.g. alice,bob group1,group2.
  36. If set to the special value '*', it means all users are allowed to
  37. submit jobs.
  38. </description>
  39. </property>
  40. <property>
  41. <name>mapred.queue.default.acl-administer-jobs</name>
  42. <value>*</value>
  43. <description> Comma separated list of user and group names that are allowed
  44. to delete jobs or modify job's priority for jobs not owned by the current
  45. user in the 'default' queue. The user list and the group list
  46. are separated by a blank. For e.g. alice,bob group1,group2.
  47. If set to the special value '*', it means all users are allowed to do
  48. this operation.
  49. </description>
  50. </property>
  51. <property>
  52. <name>mapred.queue.default.state</name>
  53. <value>running</value>
  54. <description>
  55. This values defines the state , default queue is in.
  56. the values can be either "stopped" or "running"
  57. This value can be changed at runtime.
  58. </description>
  59. </property>
  60. </configuration>