-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73517/
-----------------------------------------------------------
Review request for ranger, Dineshkumar Yadav, Madhan Neethiraj, Mehul Parikh,
Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
Bugs: RANGER-3371
https://issues.apache.org/jira/browse/RANGER-3371
Repository: ranger
Description
-------
The algorithm to build Ranger policy database object from the Ranger policy
view object leaves some fields (guid, policy-type, etc.) un-initialized during
policy creation. Values of all fields whose values are known when database
policy object was created need to be initialized so that the policy_text
field-value can be used to recreate the original policy.
Also, Ranger admin log contains many spurious messages which incorrectly
indicate error conditions. Ranger admin is updated to avoid logging such
messages.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerPolicyDeltaUtil.java
f040a66f1
security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java
c5add3aa2
security-admin/src/main/java/org/apache/ranger/common/RangerServicePoliciesCache.java
04aa4720f
security-admin/src/main/java/org/apache/ranger/common/db/RangerTransactionSynchronizationAdapter.java
fc44e6dce
security-admin/src/main/java/org/apache/ranger/db/XXPolicyChangeLogDao.java
047228bbc
security-admin/src/main/java/org/apache/ranger/service/RangerPolicyServiceBase.java
e8c593dc1
Diff: https://reviews.apache.org/r/73517/diff/1/
Testing
-------
Passed all unit tests.
Tested in a private cluster to ensure that the x_policy table rows are updated
with values that were not filled in earlier.
Thanks,
Abhay Kulkarni