hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deva...@apache.org
Subject hadoop git commit: YARN-3358. Audit log not present while refreshing Service ACLs. Contributed by Varun Saxena.
Date Fri, 08 May 2015 06:48:24 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 089d420a8 -> 0d286d104


YARN-3358. Audit log not present while refreshing Service ACLs.
Contributed by Varun Saxena.

(cherry picked from commit ef3d66d4624d360e75c016e36824a6782d6a9746)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0d286d10
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0d286d10
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0d286d10

Branch: refs/heads/branch-2
Commit: 0d286d1041ed6bec02bb7dbe4aa54165c259c7c3
Parents: 089d420
Author: Devaraj K <devaraj@apache.org>
Authored: Fri May 8 12:14:10 2015 +0530
Committer: Devaraj K <devaraj@apache.org>
Committed: Fri May 8 12:15:45 2015 +0530

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                  | 3 +++
 .../apache/hadoop/yarn/server/resourcemanager/AdminService.java  | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/0d286d10/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index 0523f4f..063d2bd 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -358,6 +358,9 @@ Release 2.7.1 - UNRELEASED
     YARN-3385. Fixed a race-condition in ResourceManager's ZooKeeper based
     state-store to avoid crashing on duplicate deletes. (Zhihai Xu via vinodkv)
 
+    YARN-3358. Audit log not present while refreshing Service ACLs. 
+    (Varun Saxena via devaraj)
+
 Release 2.7.0 - 2015-04-20
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/0d286d10/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
index 0ad90c0..1ee8b3b 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/AdminService.java
@@ -508,7 +508,9 @@ public class AdminService extends CompositeService implements
         conf, policyProvider);
     rmContext.getResourceTrackerService().refreshServiceAcls(
         conf, policyProvider);
-    
+
+    RMAuditLogger.logSuccess(user.getShortUserName(), argName, "AdminService");
+
     return recordFactory.newRecordInstance(RefreshServiceAclsResponse.class);
   }
 


Mime
View raw message