ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alok Lal <a...@hortonworks.com>
Subject Re: Review Request 44744: Scrub received policies before policy engine uses it to guard against inadvertant data corruption: remove null policy resource values
Date Thu, 17 Mar 2016 19:25:11 GMT

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

(Updated March 17, 2016, 12:25 p.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Added an overall try/catch for the policy engine initialization – to ensure that the plugin
will continue to pull policies periodically, even if the initialization hits any issue.


Bugs: RANGER-882
    https://issues.apache.org/jira/browse/RANGER-882


Repository: ranger


Description
-------

Scrub null values from policy resource before policy evaluators use them.


Diffs (updated)
-----

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


Diff: https://reviews.apache.org/r/44744/diff/


Testing
-------

Reproduced the problem and tested the fix in an older version of the code.  Checked that WARNING
messsages shows up containing the policy id and resource level to identify the problem source.

Apache JIRA seems to be down currently.  I'll update it with review request once I can get
at it.


Thanks,

Alok Lal


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