-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74344/
-----------------------------------------------------------
(Updated March 11, 2023, 2:32 p.m.)
Review request for ranger, Dineshkumar Yadav, madhan, Madhan Neethiraj, Ramesh
Mani, and Velmurugan Periasamy.
Changes
-------
Patch and JIRA description updated to address only the ArrayIndexOutOfBounds
condition.
Bugs: RANGER-4129
https://issues.apache.org/jira/browse/RANGER-4129
Repository: ranger
Description (updated)
-------
If AtlasTagSource.buildAndUploadServiceTags() is called with empty
AtlasTagSource.atlasEntityWithTags list, then an ArrayIndexOutOfBounds
exception is thrown when AtlasTagSource.messages list is read. This may happen
when the first notification processed by tagsync process is of type
ENTITY_DELETE.
Diffs (updated)
-----
tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasNotificationMapper.java
a7c456b3d
tagsync/src/main/java/org/apache/ranger/tagsync/source/atlas/AtlasTagSource.java
1a3ddecb5
Diff: https://reviews.apache.org/r/74344/diff/2/
Changes: https://reviews.apache.org/r/74344/diff/1-2/
Testing
-------
Compiled clean and passed all unit tests
Thanks,
Abhay Kulkarni