ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Review Request 72699: RANGER-2921: Regression: When all resource and tag(if applicable) policies are deleted then plugin continues to use old set of policies
Date Tue, 21 Jul 2020 18:30:08 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for ranger, Madhan Neethiraj and Velmurugan Periasamy.

Bugs: RANGER-2921

Repository: ranger


All policies in a service (including tag policies if the service has associated tag-service)
are removed. Plugin downloads this change correctly, however, it continues to execute old
set of policies. Effectively, this change in policies is ignored, until another policy is
created for this service (or in associated tag service).

The root cause is that the check for ensuring that the downloaded policies are internally
consistent was incorrectly done.


  agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java d860f3c62

  agents-common/src/main/java/org/apache/ranger/plugin/util/RangerPolicyDeltaUtil.java 241cf9d63

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


Ran all unit test cases successfully.


Abhay Kulkarni

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message