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 B000B107EB for ; Thu, 13 Mar 2014 05:19:56 +0000 (UTC) Received: (qmail 40872 invoked by uid 500); 13 Mar 2014 05:19:46 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 40779 invoked by uid 500); 13 Mar 2014 05:19:45 -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 40768 invoked by uid 500); 13 Mar 2014 05:19:45 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 40756 invoked by uid 99); 13 Mar 2014 05:19:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 05:19:45 +0000 Date: Thu, 13 Mar 2014 05:19:44 +0000 (UTC) From: "Thejas M Nair (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6629) Change SET ROLE NONE to SET ROLE ALL 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-6629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932878#comment-13932878 ] Thejas M Nair commented on HIVE-6629: ------------------------------------- Brock, I have added some comments on review board. > Change SET ROLE NONE to SET ROLE ALL > ------------------------------------ > > Key: HIVE-6629 > URL: https://issues.apache.org/jira/browse/HIVE-6629 > Project: Hive > Issue Type: Task > Affects Versions: 0.13.0 > Reporter: Brock Noland > Assignee: Brock Noland > Priority: Blocker > Fix For: 0.13.0 > > Attachments: HIVE-6629.patch > > > I understand this is well after it's been implemented. However, I think we need to discuss the counter-intuitive SET ROLE semantics before we release 0.13. > The new Hive Authz work implements "SET ROLE NONE" similar to MySQL meaning that "SET ROLE NONE" actually sets your role to the default. This is extremely counter-intuitive. > * [Oracle|http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_10004.htm] > * [Informix|http://pic.dhe.ibm.com/infocenter/idshelp/v117/index.jsp?topic=%2Fcom.ibm.sqls.doc%2Fids_sqs_1186.htm] > * [Vertica|https://my.vertica.com/docs/5.1.6/HTML/index.htm#15645.htm] > * [SAP|http://www.sapdb.org/htmhelp/44/a17998442911d3a98200a0c9449261/content.htm] > All of the widely deployed databases above have "SET ROLE NONE" disable all privileges. Those databases have the intuitive "SET ROLE ALL" or "SET ROLE DEFAULT" enable all privileges. -- This message was sent by Atlassian JIRA (v6.2#6252)