[ 
https://issues.apache.org/jira/browse/HIVE-7498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Navis updated HIVE-7498:
------------------------

    Attachment: HIVE-7498.1.patch.txt

> NPE on show grant for global privilege
> --------------------------------------
>
>                 Key: HIVE-7498
>                 URL: https://issues.apache.org/jira/browse/HIVE-7498
>             Project: Hive
>          Issue Type: Task
>          Components: Authorization
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Minor
>         Attachments: HIVE-7498.1.patch.txt
>
>
> {noformat}
> 2014-07-24 11:10:05,961 ERROR exec.DDLTask (DDLTask.java:failed(501)) - 
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject.compareTo(HivePrivilegeObject.java:66)
>       at org.apache.hadoop.hive.ql.exec.DDLTask$2.compare(DDLTask.java:3156)
>       at org.apache.hadoop.hive.ql.exec.DDLTask$2.compare(DDLTask.java:3153)
>       at java.util.Arrays.mergeSort(Arrays.java:1270)
>       at java.util.Arrays.mergeSort(Arrays.java:1281)
>       at java.util.Arrays.mergeSort(Arrays.java:1281)
>       at java.util.Arrays.mergeSort(Arrays.java:1281)
>       at java.util.Arrays.mergeSort(Arrays.java:1281)
>       at java.util.Arrays.mergeSort(Arrays.java:1281)
>       at java.util.Arrays.sort(Arrays.java:1210)
>       at java.util.Collections.sort(Collections.java:157)
>       at 
> org.apache.hadoop.hive.ql.exec.DDLTask.writeGrantInfo(DDLTask.java:3153)
>       at org.apache.hadoop.hive.ql.exec.DDLTask.showGrants(DDLTask.java:606)
>       at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:455)
>       at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:161)
>       at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
>       at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1513)
>       at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1280)
>       at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1094)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:918)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:908)
> {noformat}
> Seemed regression from HIVE-7026



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to