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 01F3410163 for ; Sun, 23 Mar 2014 16:50:50 +0000 (UTC) Received: (qmail 83058 invoked by uid 500); 23 Mar 2014 16:50:48 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 82016 invoked by uid 500); 23 Mar 2014 16:50: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 81976 invoked by uid 500); 23 Mar 2014 16:50:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 81971 invoked by uid 99); 23 Mar 2014 16:50:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Mar 2014 16:50:42 +0000 Date: Sun, 23 Mar 2014 16:50:42 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6673) sql std auth - show grant statement for all principals throws NPE 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-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-6673: ----------------------------------- Resolution: Fixed Fix Version/s: 0.13.0 Status: Resolved (was: Patch Available) Committed to 0.13 & trunk. Thanks, Thejas! > sql std auth - show grant statement for all principals throws NPE > ----------------------------------------------------------------- > > Key: HIVE-6673 > URL: https://issues.apache.org/jira/browse/HIVE-6673 > Project: Hive > Issue Type: Sub-task > Components: Authorization > Affects Versions: 0.13.0 > Reporter: Thejas M Nair > Assignee: Thejas M Nair > Fix For: 0.13.0 > > Attachments: HIVE-6673.1.patch, HIVE-6673.1.patch > > > {code} > show grant on table t1; > 2014-03-14 12:45:46,573 ERROR exec.DDLTask (DDLTask.java:execute(461)) - java.lang.NullPointerException > at org.apache.hadoop.hive.ql.exec.DDLTask.getHivePrincipal(DDLTask.java:893) > at org.apache.hadoop.hive.ql.exec.DDLTask.showGrantsV2(DDLTask.java:648) > at org.apache.hadoop.hive.ql.exec.DDLTask.showGrants(DDLTask.java:553) > at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:426) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153) > ... > ... > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)