You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2014/09/29 09:19:33 UTC

[jira] [Commented] (SENTRY-476) SENTRY should have the ability to check the database and table in metastore

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

Lenni Kuff commented on SENTRY-476:
-----------------------------------

[~dapengsun] - Could you explain your use case?

I have a couple concerns with this approach:
* It adds a new dependency on the HMS to the Sentry Service.
* This is inherently racy. As soon as the HMS existence check is made the object could have been dropped.

It seems like this is something that could be handled at the client layer when analyzing GRANT statements.








> SENTRY should have the ability to check the database and table in metastore
> ---------------------------------------------------------------------------
>
>                 Key: SENTRY-476
>                 URL: https://issues.apache.org/jira/browse/SENTRY-476
>             Project: Sentry
>          Issue Type: Improvement
>            Reporter: Dapeng Sun
>
> Currently when sentry grant privilege to object, such as database, table, it doesn't do the check whether if the object is existed in HIVE, we should add a configuration property, if the property is enabled, sentry will connect to HIVE Metastore and check if the object is exist or not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)