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 4898C10615 for ; Tue, 4 Feb 2014 00:19:09 +0000 (UTC) Received: (qmail 39055 invoked by uid 500); 4 Feb 2014 00:19:07 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 39005 invoked by uid 500); 4 Feb 2014 00:19:06 -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 38991 invoked by uid 500); 4 Feb 2014 00:19:06 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 38985 invoked by uid 99); 4 Feb 2014 00:19:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Feb 2014 00:19:05 +0000 Date: Tue, 4 Feb 2014 00:19:05 +0000 (UTC) From: "Navis (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6204) The result of show grant / show role should be tabular format 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-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890173#comment-13890173 ] Navis commented on HIVE-6204: ----------------------------- I believe security related metrics always concerns timestamp (There are two time metric in role and the first patch is missing 'create time'. Will be fixed in next patch). So we should find a way to mask time parts without introducing test conf var. Any idea? > The result of show grant / show role should be tabular format > ------------------------------------------------------------- > > Key: HIVE-6204 > URL: https://issues.apache.org/jira/browse/HIVE-6204 > Project: Hive > Issue Type: Improvement > Components: Authorization > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-6204.1.patch.txt > > > {noformat} > hive> show grant role role1 on all; > OK > database default > table src > principalName role1 > principalType ROLE > privilege Create > grantTime Wed Dec 18 14:17:56 KST 2013 > grantor navis > database default > table srcpart > principalName role1 > principalType ROLE > privilege Update > grantTime Wed Dec 18 14:18:28 KST 2013 > grantor navis > {noformat} > This should be something like below, especially for JDBC clients. > {noformat} > hive> show grant role role1 on all; > OK > default src role1 ROLE Create false 1387343876000 navis > default srcpart role1 ROLE Update false 1387343908000 navis > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)