You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2020/11/25 00:17:18 UTC

Review Request 73040: RANGER-3088: Build tagged-resource-cache using memory optimization flags identical to policy-cache

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

Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

Policy engine consists of in-memory cache of policies and tagged entities. Each cache also has an in-memory index for quick look-up. The structure of the index and its run-time behavior is controlled with configuration options provided when the index is constructed.

These indexes should be constructed with identical options for consistent memory and performance behavior.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerAbstractContextEnricher.java fa84760c6 
  agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerTagEnricher.java 94ac749aa 
  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java 3886eea8b 


Diff: https://reviews.apache.org/r/73040/diff/1/


Testing
-------

Ran all unit tests successfully.


Thanks,

Abhay Kulkarni


Re: Review Request 73040: RANGER-3088: Build tagged-resource-cache using memory optimization flags identical to policy-cache

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73040/#review222232
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On Nov. 25, 2020, 12:17 a.m., Abhay Kulkarni wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73040/
> -----------------------------------------------------------
> 
> (Updated Nov. 25, 2020, 12:17 a.m.)
> 
> 
> Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3088
>     https://issues.apache.org/jira/browse/RANGER-3088
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Policy engine consists of in-memory cache of policies and tagged entities. Each cache also has an in-memory index for quick look-up. The structure of the index and its run-time behavior is controlled with configuration options provided when the index is constructed.
> 
> These indexes should be constructed with identical options for consistent memory and performance behavior.
> 
> 
> Diffs
> -----
> 
>   agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerAbstractContextEnricher.java fa84760c6 
>   agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerTagEnricher.java 94ac749aa 
>   agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java 3886eea8b 
> 
> 
> Diff: https://reviews.apache.org/r/73040/diff/1/
> 
> 
> Testing
> -------
> 
> Ran all unit tests successfully.
> 
> 
> Thanks,
> 
> Abhay Kulkarni
> 
>