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 (Jira)" <ji...@apache.org> on 2023/03/11 14:29:00 UTC

[jira] [Updated] (RANGER-4129) ArrayIndexOutOfBounds exception may be thrown while processing events

     [ https://issues.apache.org/jira/browse/RANGER-4129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Abhay Kulkarni updated RANGER-4129:
-----------------------------------
    Description: 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.  (was: 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.

This Jira also fixes a potential issue if the Kafka queue contains only a large number of notifications not expected to be handled by tagsync. In such cases, tagsync will not acknowledge receipt and it may cause back-pressure on Kafka queue.)

> ArrayIndexOutOfBounds exception may be thrown while processing events
> ---------------------------------------------------------------------
>
>                 Key: RANGER-4129
>                 URL: https://issues.apache.org/jira/browse/RANGER-4129
>             Project: Ranger
>          Issue Type: Bug
>          Components: tagsync
>            Reporter: Abhay Kulkarni
>            Assignee: Abhay Kulkarni
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)