ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject ranger git commit: RANGER-1807 Static object can be used directly at start() method for RangerHdfsAuthorizer class
Date Mon, 25 Sep 2017 14:18:16 GMT
Repository: ranger
Updated Branches:
  refs/heads/master 2ec3b646e -> 99ec61e42


RANGER-1807 Static object can be used directly at start() method for RangerHdfsAuthorizer
class

Signed-off-by: Colm O hEigeartaigh <coheigea@apache.org>


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

Branch: refs/heads/master
Commit: 99ec61e42599478107a1c186244691aca8afa18f
Parents: 2ec3b64
Author: wangyuan <wang.yuan17@zte.com.cn>
Authored: Mon Sep 25 19:42:33 2017 +0800
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Sep 25 15:11:04 2017 +0100

----------------------------------------------------------------------
 .../apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/99ec61e4/hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
----------------------------------------------------------------------
diff --git a/hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
b/hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
index 97fd5cd..af4d9b5 100644
--- a/hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
+++ b/hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
@@ -97,7 +97,7 @@ public class RangerHdfsAuthorizer extends INodeAttributeProvider {
 		RangerHdfsPlugin plugin = new RangerHdfsPlugin();
 		plugin.init();
 
-		if (plugin.isOptimizeSubAccessAuthEnabled()) {
+		if (RangerHdfsPlugin.isOptimizeSubAccessAuthEnabled()) {
 			LOG.info(RangerHadoopConstants.RANGER_OPTIMIZE_SUBACCESS_AUTHORIZATION_PROP + " is enabled");
 		}
 


Mime
View raw message