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




agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
Lines 122 (patched)
<https://reviews.apache.org/r/73540/#comment312461>

    Consider making get/setStringifiedCacheKeyValue() APIs protected (instead 
of public).


- Abhay Kulkarni


On Aug. 25, 2021, 2:44 p.m., cao zhiqiang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/73540/
> -----------------------------------------------------------
> 
> (Updated Aug. 25, 2021, 2:44 p.m.)
> 
> 
> Review request for ranger and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-3378
>     https://issues.apache.org/jira/browse/RANGER-3378
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> RangerAccessResourceImpl.getAsString function take too much time. We should 
> replace it to improve performance for hdfs.
> 
> 
> Diffs
> -----
> 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java
>  93810ae21 
>   
> hdfs-agent/src/main/java/org/apache/ranger/authorization/hadoop/RangerHdfsAuthorizer.java
>  7b2882c40 
> 
> 
> Diff: https://reviews.apache.org/r/73540/diff/2/
> 
> 
> Testing
> -------
> 
> The getAsString function take mush less more than before.
> 
> 
> Thanks,
> 
> cao zhiqiang
> 
>

Reply via email to