-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74680/
-----------------------------------------------------------
Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, madhan,
Madhan Neethiraj, Mahesh Bandal, Mehul Parikh, Pradeep Agrawal, Ramesh Mani,
Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-4478
https://issues.apache.org/jira/browse/RANGER-4478
Repository: ranger
Description
-------
When policy-delta feature is enabled, updates to Ranger policies result in only
the updates (deltas) being delivered to the plugin embedded in the service. In
a long-running service and in the face of frequent ranger updates, sometimes,
the internal structures of the policy-engine are not correctly updated. This
may result in evaluation of incomplete set of policies when computing result of
authorization request.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerResourceTrie.java
2f725036d
Diff: https://reviews.apache.org/r/74680/diff/1/
Testing
-------
Passes all unit tests.
Tested with a long running cluster with a client updating Hive policies
frequenty and Hive queries issued from a beeline client.
Thanks,
Abhay Kulkarni