[ 
https://issues.apache.org/jira/browse/SENTRY-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16374022#comment-16374022
 ] 

Alexander Kolbasov commented on SENTRY-2143:
--------------------------------------------

[~LinaAtAustin] Note that if event doesn't have event ID it will never reach 
Sentry in the first place, so this means that if you are right, none of the 
ALTER TABLE events ever reach Sentry. This definitely isn't the case since I 
saw the ALTER TABLE event in the log. So it is worth investigating why 
notification ID is not set in your case - it is definitely not the normal 
situation.

> Table renames should synchronize with Sentry
> --------------------------------------------
>
>                 Key: SENTRY-2143
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2143
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Alexander Kolbasov
>            Assignee: Na Li
>            Priority: Major
>         Attachments: SENTRY-2143.001.patch, SENTRY-2143.002.patch, 
> SENTRY-2143.003.patch, SENTRY-2143.004.patch
>
>
> Currently table renames are not synchronized from Hive (while table 
> creates/drops are). This creates a problem since the renamed table doesn't 
> have correct privileges for a bit until it is processed by Sentry. So 
> perfectly valid scripts that rename tables and expect the rename table to 
> retain the privileges are going to fail.
> The fix is to update {{SentrySyncHMSNotificationsPostEventListener}} to 
> synchronize table renames as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to