> On 八月 25, 2021, 4:47 p.m., Abhay Kulkarni wrote: > > agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerAccessResourceImpl.java > > Lines 122 (patched) > > <https://reviews.apache.org/r/73540/diff/2/?file=2252270#file2252270line122> > > > > Consider making get/setStringifiedCacheKeyValue() APIs protected > > (instead of public).
ok. - cao ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73540/#review223395 ----------------------------------------------------------- On 八月 26, 2021, 2:57 a.m., cao zhiqiang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73540/ > ----------------------------------------------------------- > > (Updated 八月 26, 2021, 2:57 a.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/3/ > > > Testing > ------- > > The getAsString function take mush less more than before. > > > Thanks, > > cao zhiqiang > >