[
https://issues.apache.org/jira/browse/HIVE-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated HIVE-6673:
--------------------------------
Attachment: HIVE-6673.1.patch
HIVE-6673.1.patch - attaching copy of the file again for precommit tests.
> 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
> 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)