You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2018/05/17 01:24:18 UTC
Re: Review Request 67119: RANGER-2104: Ranger tagsync should ignore
ENTITY_UPDATE events if the updated entity does not have associated traits
-----------------------------------------------------------
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