-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74350/
-----------------------------------------------------------
Review request for ranger, madhan and Madhan Neethiraj.
Bugs: RANGER-4136
https://issues.apache.org/jira/browse/RANGER-4136
Repository: ranger
Description
-------
Ranger supports incremental tag downloads when configured. When a mapping for a
service-resource is changed, the tag download request provides only the updated
service-resource. RangerTagEnricher is expected to remove the existing
service-resource and the associated tags from its cache and add it back with
updated associated tags.
Current code does not remove the existing service-resource and its associated
tags correctly leading to incorrect tags to be retrieved for the
service-resource.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerTagEnricher.java
efb885a74
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerResourceEvaluatorsRetriever.java
dfe591c59
Diff: https://reviews.apache.org/r/74350/diff/1/
Testing
-------
Compiled and ran unit tests. Tested and verified in a live cluster.
Thanks,
Abhay Kulkarni