hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r941145 - in /hadoop/mapreduce/branches/branch-0.21: ./ conf/ src/java/org/apache/hadoop/mapred/ src/test/mapred/org/apache/hadoop/mapred/
Date Wed, 05 May 2010 04:56:02 GMT
Author: sharad
Date: Wed May  5 04:56:01 2010
New Revision: 941145

URL: http://svn.apache.org/viewvc?rev=941145&view=rev
Log:
MAPREDUCE-1611. Merge revision 941143 from trunk.

Added:
    hadoop/mapreduce/branches/branch-0.21/src/test/mapred/org/apache/hadoop/mapred/TestAdminOperationsProtocolWithServiceAuthorization.java
      - copied unchanged from r941143, hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestAdminOperationsProtocolWithServiceAuthorization.java
Modified:
    hadoop/mapreduce/branches/branch-0.21/CHANGES.txt
    hadoop/mapreduce/branches/branch-0.21/conf/hadoop-policy.xml.template
    hadoop/mapreduce/branches/branch-0.21/src/java/org/apache/hadoop/mapred/MapReducePolicyProvider.java

Modified: hadoop/mapreduce/branches/branch-0.21/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.21/CHANGES.txt?rev=941145&r1=941144&r2=941145&view=diff
==============================================================================
--- hadoop/mapreduce/branches/branch-0.21/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/branch-0.21/CHANGES.txt Wed May  5 04:56:01 2010
@@ -1543,3 +1543,6 @@ Release 0.21.0 - Unreleased
     displays wrong error message about job ACLs. (Ravi Gummadi via vinodkv)
 
     MAPREDUCE-1727. TestJobACLs fails after HADOOP-6686. (Ravi Gummadi via vinodkv)
+
+    MAPREDUCE-1611. Refresh nodes and refresh queues doesnt work with service
+    authorization enabled. (Amar Kamat via vinodkv)

Modified: hadoop/mapreduce/branches/branch-0.21/conf/hadoop-policy.xml.template
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.21/conf/hadoop-policy.xml.template?rev=941145&r1=941144&r2=941145&view=diff
==============================================================================
--- hadoop/mapreduce/branches/branch-0.21/conf/hadoop-policy.xml.template (original)
+++ hadoop/mapreduce/branches/branch-0.21/conf/hadoop-policy.xml.template Wed May  5 04:56:01
2010
@@ -94,4 +94,13 @@
     A special value of "*" means all users are allowed.</description>
   </property>
 
+  <property>
+    <name>security.admin.operations.protocol.acl</name>
+    <value>*</value>
+    <description>ACL for AdminOperationsProtocol, used by the mradmins commands
+    to refresh queues and nodes at JobTracker. The ACL is a comma-separated list of 
+    user and group names. The user and group list is separated by a blank. 
+    For e.g. "alice,bob users,wheel". A special value of "*" means all users are 
+    allowed.</description>
+  </property>
 </configuration>

Modified: hadoop/mapreduce/branches/branch-0.21/src/java/org/apache/hadoop/mapred/MapReducePolicyProvider.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/branch-0.21/src/java/org/apache/hadoop/mapred/MapReducePolicyProvider.java?rev=941145&r1=941144&r2=941145&view=diff
==============================================================================
--- hadoop/mapreduce/branches/branch-0.21/src/java/org/apache/hadoop/mapred/MapReducePolicyProvider.java
(original)
+++ hadoop/mapreduce/branches/branch-0.21/src/java/org/apache/hadoop/mapred/MapReducePolicyProvider.java
Wed May  5 04:56:01 2010
@@ -39,6 +39,8 @@ public class MapReducePolicyProvider ext
                   RefreshAuthorizationPolicyProtocol.class),
       new Service("security.refresh.usertogroups.mappings.protocol.acl", 
                   RefreshUserToGroupMappingsProtocol.class),
+      new Service("security.admin.operations.protocol.acl", 
+                  AdminOperationsProtocol.class),
   };
   
   @Override



Mime
View raw message