Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E097011E7E for ; Mon, 18 Aug 2014 04:27:18 +0000 (UTC) Received: (qmail 84343 invoked by uid 500); 18 Aug 2014 04:27:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 84274 invoked by uid 500); 18 Aug 2014 04:27:18 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 84260 invoked by uid 500); 18 Aug 2014 04:27:18 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 84257 invoked by uid 99); 18 Aug 2014 04:27:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 04:27:18 +0000 Date: Mon, 18 Aug 2014 04:27:18 +0000 (UTC) From: "Lefty Leverenz (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7533) sql std auth - set authorization privileges for tables when created from hive cli MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100268#comment-14100268 ] Lefty Leverenz commented on HIVE-7533: -------------------------------------- Okay, then I'll put the TODOC14 label on HIVE-7759 instead of here. Thanks Thejas. > sql std auth - set authorization privileges for tables when created from hive cli > --------------------------------------------------------------------------------- > > Key: HIVE-7533 > URL: https://issues.apache.org/jira/browse/HIVE-7533 > Project: Hive > Issue Type: Bug > Components: Authorization, SQLStandardAuthorization > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.14.0 > > Attachments: HIVE-7533.1.patch, HIVE-7533.2.patch, HIVE-7533.3.patch > > > As SQL standard authorization mode is not available from hive-cli, the default permissions on table for the table owner are not being set, when the table is created from hive-cli. > It should be possible set the sql standards based authorization as the authorizer for hive-cli, which would update the configuration appropriately. > hive-cli data access is actually controlled by hdfs, not the authorization policy. As a result, using sql std auth from hive-cli for authorization would lead to a false sense of security. To avoid this, hive-cli users will have to keep the authorization disabled on hive-cli (in case of sql std auth). But this would affect only authorization checks, not configuration updates by the authorizer. -- This message was sent by Atlassian JIRA (v6.2#6252)