From commits-return-3738-apmail-sentry-commits-archive=sentry.apache.org@sentry.incubator.apache.org Thu Oct 9 17:56:58 2014 Return-Path: X-Original-To: apmail-sentry-commits-archive@minotaur.apache.org Delivered-To: apmail-sentry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E9FB176AD for ; Thu, 9 Oct 2014 17:56:58 +0000 (UTC) Received: (qmail 75856 invoked by uid 500); 9 Oct 2014 17:56:58 -0000 Delivered-To: apmail-sentry-commits-archive@sentry.apache.org Received: (qmail 75809 invoked by uid 500); 9 Oct 2014 17:56:58 -0000 Mailing-List: contact commits-help@sentry.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sentry.incubator.apache.org Delivered-To: mailing list commits@sentry.incubator.apache.org Received: (qmail 75800 invoked by uid 99); 9 Oct 2014 17:56:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 17:56:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Oct 2014 17:56:36 +0000 Received: (qmail 75345 invoked by uid 99); 9 Oct 2014 17:56:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 17:56:34 +0000 Date: Thu, 9 Oct 2014 17:56:34 +0000 (UTC) From: "Lenni Kuff (JIRA)" To: commits@sentry.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SENTRY-476) SENTRY should have the ability to check the database and table in metastore MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SENTRY-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165440#comment-14165440 ] Lenni Kuff commented on SENTRY-476: ----------------------------------- [~dapengsun] - I don't think that would work because it would be scoped only to the target Hive Server instance. There may be other Hive Metastore Clients that are not obeying the locking. > 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)