You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/03/13 13:47:00 UTC

[jira] [Commented] (SENTRY-2153) Get owner.privileges value from hive for a given DB

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

kalyan kumar kalvagadda commented on SENTRY-2153:
-------------------------------------------------

Here are the steps I'm taking
 # Understanding how "dbproperties" are stored in Database instance
 # See if the notification events for create and alter database are to be updated to capture db properties
 # Build a LRU cache in sentry which provides following
 ## Store the db properties
 ## Retrieve DB properties
 ## Update the  db properties

> Get owner.privileges value from hive for a given DB
> ---------------------------------------------------
>
>                 Key: SENTRY-2153
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2153
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>             Fix For: 2.1.0
>
>
> Sentry needs to get the "owner.privileges" value from hive for a given DB, and cache it. So when a new table is created, the user can get implicit owner privileges accordingly.
> When the value of "owner.privileges changes, Sentry should update the cache value to the latest value.



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