4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
21 <!-- This is the template for queue configuration. The format supports nesting of
22 queues within queues - a feature called hierarchical queues. All queues are
23 defined within the 'queues' tag which is the top level element for this
25 The 'aclsEnabled' attribute should be set to true, if ACLs should be checked
26 on queue operations such as submitting jobs, killing jobs etc. -->
27 <queues aclsEnabled="false">
29 <!-- Configuration for a queue is specified by defining a 'queue' element. -->
32 <!-- Name of a queue. Queue name cannot contain a ':' -->
35 <!-- properties for a queue, typically used by schedulers,
36 can be defined here -->
40 <!-- State of the queue. If running, the queue will accept new jobs.
41 If stopped, the queue will not accept new jobs. -->
42 <state>running</state>
44 <!-- Specifies the ACLs to check for submitting jobs to this queue.
45 If set to '*', it allows all users to submit jobs to the queue.
46 For specifying a list of users and groups the format to use is
47 user1,user2 group1,group2 -->
48 <acl-submit-job>*</acl-submit-job>
50 <!-- Specifies the ACLs to check for modifying jobs in this queue.
51 Modifications include killing jobs, tasks of jobs or changing
53 If set to '*', it allows all users to submit jobs to the queue.
54 For specifying a list of users and groups the format to use is
55 user1,user2 group1,group2 -->
56 <acl-administer-jobs>*</acl-administer-jobs>
59 <!-- Here is a sample of a hierarchical queue configuration
60 where q2 is a child of q1. In this example, q2 is a leaf level
61 queue as it has no queues configured within it. Currently, ACLs
62 and state are only supported for the leaf level queues.
63 Note also the usage of properties for the queue q2.
69 <property key="capacity" value="20"/>
70 <property key="user-limit" value="30"/>