ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhay Kulkarni <akulka...@hortonworks.com>
Subject Re: Review Request 67119: RANGER-2104: Ranger tagsync should ignore ENTITY_UPDATE events if the updated entity does not have associated traits
Date Thu, 17 May 2018 01:24:18 GMT

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

(Updated May 17, 2018, 1:24 a.m.)


Review request for ranger and Madhan Neethiraj.


Changes
-------

Added Apache JIRA.


Summary (updated)
-----------------

RANGER-2104: Ranger tagsync should ignore ENTITY_UPDATE events if the updated entity does
not have associated traits


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


Repository: ranger


Description (updated)
-------

Tagsync may receive a large number of ENTITY_UPDATE events when used in a large EDW environment.
If an update entity is not associated with any tags (aka traits, classifications), then this
event does not have material impact on the resource->tag associations in the Ranger, and
therefore, can be safely dropped. Processing such event adds processing overhead to tagsync,
ranger-admin and network, and also causes ranger-admin database to be populated with service-resource
that is not tagged and is not needed for access evaluation.


Diffs (updated)
-----

  pom.xml 878f5f0a3 
  src/main/assembly/tagsync.xml 0788ac174 
  tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasNotificationMapper.java
85c7c2044 
  tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasTagSource.java ea4c20cc5



Diff: https://reviews.apache.org/r/67119/diff/4/

Changes: https://reviews.apache.org/r/67119/diff/3-4/


Testing (updated)
-------

Tested in a local VM and cluster.


Thanks,

Abhay Kulkarni


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