Author: stack
Date: Fri Oct 9 16:20:27 2009
New Revision: 823607
URL: http://svn.apache.org/viewvc?rev=823607&view=rev
Log:
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
Added:
hadoop/hbase/trunk/src/test/mapred-queues.xml
Added: hadoop/hbase/trunk/src/test/mapred-queues.xml
URL:
http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/test/mapred-queues.xml?rev=823607&view=auto
==============================================================================
--- hadoop/hbase/trunk/src/test/mapred-queues.xml (added)
+++ hadoop/hbase/trunk/src/test/mapred-queues.xml Fri Oct 9 16:20:27 2009
@@ -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>