ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Re: Review Request 71584: RANGER-2510: Support for Incremental tag updates to improve performance - handle updates to tag policies correctly
Date Sun, 06 Oct 2019 23:07:19 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71584/
-----------------------------------------------------------

(Updated Oct. 6, 2019, 11:07 p.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Addressed review comments


Bugs: RANGER-2510
    https://issues.apache.org/jira/browse/RANGER-2510


Repository: ranger


Description
-------

Ensure that policy cache is correctly updated when only resource policy is updated. Also,
ensure that updated policy-engine is used for evaluation when policy deltas are used to build
policy engine.


Diffs (updated)
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineCache.java
5dae0c12b 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyEngineImpl.java
576d5e5bb 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
ae88c73ea 
  agents-common/src/main/java/org/apache/ranger/plugin/service/RangerAuthContext.java 6cd1df69e

  agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java 1325a4020

  agents-common/src/main/java/org/apache/ranger/plugin/util/RangerPolicyDeltaUtil.java 9c50f8a33

  agents-common/src/main/java/org/apache/ranger/plugin/util/RangerRESTClient.java ef5f1d53f

  agents-common/src/main/java/org/apache/ranger/plugin/util/ServiceDefUtil.java 596f5e841

  agents-common/src/main/java/org/apache/ranger/plugin/util/ServicePolicies.java f6beac675

  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 51e08e14b 


Diff: https://reviews.apache.org/r/71584/diff/2/

Changes: https://reviews.apache.org/r/71584/diff/1-2/


Testing
-------

Tested:
1. policy-cache is correctly updated.
2. Policy evaluation when tag policies are updated.
3. Policy evaluation when tags are updated.


Thanks,

Abhay Kulkarni


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message