You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ma...@apache.org on 2016/04/03 07:10:07 UTC

incubator-ranger git commit: RANGER-907 - Copy + paste error in RangerYarnAuthorizer

Repository: incubator-ranger
Updated Branches:
  refs/heads/master 1d5471ae3 -> 79947f10a


RANGER-907 - Copy + paste error in RangerYarnAuthorizer

Signed-off-by: Madhan Neethiraj <ma...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/79947f10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/79947f10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/79947f10

Branch: refs/heads/master
Commit: 79947f10a29c3e01d009c956cfd8a9c6bce7af0b
Parents: 1d5471a
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Thu Mar 31 14:43:18 2016 +0100
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Sat Apr 2 22:04:32 2016 -0700

----------------------------------------------------------------------
 .../authorization/yarn/authorizer/RangerYarnAuthorizer.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/79947f10/plugin-yarn/src/main/java/org/apache/ranger/authorization/yarn/authorizer/RangerYarnAuthorizer.java
----------------------------------------------------------------------
diff --git a/plugin-yarn/src/main/java/org/apache/ranger/authorization/yarn/authorizer/RangerYarnAuthorizer.java b/plugin-yarn/src/main/java/org/apache/ranger/authorization/yarn/authorizer/RangerYarnAuthorizer.java
index a48e1a2..2ea92b3 100644
--- a/plugin-yarn/src/main/java/org/apache/ranger/authorization/yarn/authorizer/RangerYarnAuthorizer.java
+++ b/plugin-yarn/src/main/java/org/apache/ranger/authorization/yarn/authorizer/RangerYarnAuthorizer.java
@@ -282,7 +282,7 @@ class RangerYarnAccessRequest extends RangerAccessRequestImpl {
 		super.setUserGroups(Sets.newHashSet(ugi.getGroupNames()));
 		super.setAccessTime(new Date());
 		super.setClientIPAddress(getRemoteIp());
-		super.setAction(accessType);
+		super.setAction(action);
 	}
 	
 	private static String getRemoteIp() {
@@ -352,4 +352,4 @@ class RangerYarnAuditHandler extends RangerDefaultAuditHandler {
 			LOG.debug("<== RangerYarnAuditHandler.flushAudit(" + isAuditEnabled + ", " + auditEvent + ")");
 		}
 	}
-}
\ No newline at end of file
+}