ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ab...@apache.org
Subject [2/2] ranger git commit: RANGER-2188: Support multiple threads to build Trie and on-lookup post-setup for Trie nodes - set default to lazy post-setup
Date Thu, 27 Sep 2018 05:14:55 GMT
RANGER-2188: Support multiple threads to build Trie and on-lookup post-setup for Trie nodes
- set default to lazy post-setup


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

Branch: refs/heads/ranger-0.7
Commit: d533e10afbc6951b52967d3d4a906bff8a6ee013
Parents: 660707e
Author: Abhay Kulkarni <akulkarni@hortonworks.com>
Authored: Tue Aug 21 15:20:45 2018 -0700
Committer: Abhay Kulkarni <akulkarni@hortonworks.com>
Committed: Wed Sep 26 22:14:38 2018 -0700

----------------------------------------------------------------------
 .../ranger/plugin/policyengine/RangerPolicyEngineOptions.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/d533e10a/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineOptions.java
----------------------------------------------------------------------
diff --git a/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineOptions.java
b/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineOptions.java
index 269ad1e..4c63f3b 100644
--- a/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineOptions.java
+++ b/agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineOptions.java
@@ -33,7 +33,7 @@ public class RangerPolicyEngineOptions {
 	public boolean cacheAuditResults = true;
 	public boolean evaluateDelegateAdminOnly = false;
 	public boolean enableTagEnricherWithLocalRefresher = false;
-	public boolean optimizeTrieForRetrieval = true;
+	public boolean optimizeTrieForRetrieval = false;
 
 	public void configureForPlugin(Configuration conf, String propertyPrefix) {
 		disableContextEnrichers = conf.getBoolean(propertyPrefix + ".policyengine.option.disable.context.enrichers",
false);
@@ -48,7 +48,7 @@ public class RangerPolicyEngineOptions {
 		}
 		evaluateDelegateAdminOnly = false;
 		enableTagEnricherWithLocalRefresher = false;
-		optimizeTrieForRetrieval = conf.getBoolean(propertyPrefix + ".policyengine.option.optimize.trie.for.retrieval",
true);
+		optimizeTrieForRetrieval = conf.getBoolean(propertyPrefix + ".policyengine.option.optimize.trie.for.retrieval",
false);
 
 	}
 


Mime
View raw message