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 60F231100D for ; Tue, 5 Aug 2014 18:30:13 +0000 (UTC) Received: (qmail 77333 invoked by uid 500); 5 Aug 2014 18:30:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 77256 invoked by uid 500); 5 Aug 2014 18:30:12 -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 77244 invoked by uid 500); 5 Aug 2014 18:30:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 77241 invoked by uid 99); 5 Aug 2014 18:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Aug 2014 18:30:12 +0000 Date: Tue, 5 Aug 2014 18:30:12 +0000 (UTC) From: "Jason Dere (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=14086589#comment-14086589 ] Jason Dere commented on HIVE-7533: ---------------------------------- +1 > 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 > Attachments: HIVE-7533.1.patch, HIVE-7533.2.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)