sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-2307) Avoid HMS event synchronization while sentry is fetching full snapshot.
Date Thu, 16 Aug 2018 20:05:00 GMT

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

Hadoop QA commented on SENTRY-2307:
-----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12935903/SENTRY-2307.003.patch against master.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} all tests passed

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/4039/console

This message is automatically generated.

> Avoid HMS event synchronization while sentry is fetching full snapshot. 
> ------------------------------------------------------------------------
>
>                 Key: SENTRY-2307
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2307
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>             Fix For: 2.1.0
>
>         Attachments: SENTRY-2307.001.patch, SENTRY-2307.002.patch, SENTRY-2307.003.patch
>
>
> Sentry tries to synchronize the HMS operations to make sure that sentry server process
the notifications for create/drop/alter table and databases before it receives permission
grants/revokes on them. Blocking HMS threads to make sentry processes appropriate notifications
makes sense but doing the same when full snapshot is taken doesn’t serve any purpose as
sentry server doesn’t update sentry permissions based on HMS full snapshot. We can document
that there sentry could have some stale permissions  when there are any DDL operations performed
at the time of snapshot creation.



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

Mime
View raw message