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 7A722E82E for ; Wed, 9 Jan 2013 09:58:16 +0000 (UTC) Received: (qmail 74376 invoked by uid 500); 9 Jan 2013 09:58:15 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 74233 invoked by uid 500); 9 Jan 2013 09:58:15 -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 74175 invoked by uid 500); 9 Jan 2013 09:58:14 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 74141 invoked by uid 99); 9 Jan 2013 09:58:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jan 2013 09:58:14 +0000 Date: Wed, 9 Jan 2013 09:58:14 +0000 (UTC) From: "Kai Zheng (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-3807) Hive authorization should use short username when Kerberos authentication 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-3807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kai Zheng updated HIVE-3807: ---------------------------- Attachment: HIVE-3807.patch > Hive authorization should use short username when Kerberos authentication > ------------------------------------------------------------------------- > > Key: HIVE-3807 > URL: https://issues.apache.org/jira/browse/HIVE-3807 > Project: Hive > Issue Type: Improvement > Components: Authorization > Affects Versions: 0.9.0 > Reporter: Kai Zheng > Attachments: HIVE-3807.patch > > > Currently when authentication method is Kerberos,Hive authorization uses user full name as privilege principal, for example, it uses john@EXAMPLE.COM instead of john. > It should use the short name instead. The benefits: > 1. Be consistent. Hadoop, HBase and etc they all use short name in related ACLs or authorizations. For Hive authorization works well with them, this should be. > 2. Be convenient. It's very inconvenient to use the lengthy Kerberos principal name when grant or revoke privileges via Hive CLI. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira