HBASE-187 Update hbase trunk to latests on hadoop 0.21 branch so we can all test sync/append; added mapred-queues.xml to src/test .. needed by mapreduce jar for mapreduce tests to pass
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@823607 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3234662c00
commit
8c7e40825a
|
@ -0,0 +1,56 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This is the template for queue configuration. The format supports nesting of
|
||||
queues within queues - a feature called hierarchical queues. All queues are
|
||||
defined within the 'queues' tag which is the top level element for this
|
||||
XML document.
|
||||
The 'aclsEnabled' attribute should be set to true, if ACLs should be checked
|
||||
on queue operations such as submitting jobs, killing jobs etc. -->
|
||||
<queues aclsEnabled="false">
|
||||
|
||||
<!-- Configuration for a queue is specified by defining a 'queue' element. -->
|
||||
<queue>
|
||||
|
||||
<!-- Name of a queue. Queue name cannot contain a ':' -->
|
||||
<name>default</name>
|
||||
|
||||
<!-- properties for a queue, typically used by schedulers,
|
||||
can be defined here -->
|
||||
<properties>
|
||||
</properties>
|
||||
|
||||
<!-- State of the queue. If running, the queue will accept new jobs.
|
||||
If stopped, the queue will not accept new jobs. -->
|
||||
<state>running</state>
|
||||
|
||||
<!-- Specifies the ACLs to check for submitting jobs to this queue.
|
||||
If set to '*', it allows all users to submit jobs to the queue.
|
||||
For specifying a list of users and groups the format to use is
|
||||
user1,user2 group1,group2 -->
|
||||
<acl-submit-job>*</acl-submit-job>
|
||||
|
||||
<!-- Specifies the ACLs to check for modifying jobs in this queue.
|
||||
Modifications include killing jobs, tasks of jobs or changing
|
||||
priorities.
|
||||
If set to '*', it allows all users to submit jobs to the queue.
|
||||
For specifying a list of users and groups the format to use is
|
||||
user1,user2 group1,group2 -->
|
||||
<acl-administer-jobs>*</acl-administer-jobs>
|
||||
</queue>
|
||||
|
||||
<!-- Here is a sample of a hierarchical queue configuration
|
||||
where q2 is a child of q1. In this example, q2 is a leaf level
|
||||
queue as it has no queues configured within it. Currently, ACLs
|
||||
and state are only supported for the leaf level queues.
|
||||
Note also the usage of properties for the queue q2.
|
||||
<queue>
|
||||
<name>q1</name>
|
||||
<queue>
|
||||
<name>q2</name>
|
||||
<properties>
|
||||
<property key="capacity" value="20"/>
|
||||
<property key="user-limit" value="30"/>
|
||||
</properties>
|
||||
</queue>
|
||||
</queue>
|
||||
-->
|
||||
</queues>
|
Loading…
Reference in New Issue