hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6567) "show grant ... on all" fails with NPE
Date Fri, 14 Mar 2014 00:15:43 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934337#comment-13934337
] 

Hive QA commented on HIVE-6567:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12634406/HIVE-6567.1.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5387 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeMinimrCliDriver.testNegativeCliDriver_mapreduce_stack_trace_hadoop20
{noformat}

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1768/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1768/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12634406

> "show grant ... on all" fails with NPE
> --------------------------------------
>
>                 Key: HIVE-6567
>                 URL: https://issues.apache.org/jira/browse/HIVE-6567
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Authorization
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-6567.1.patch
>
>
> With sql std auth -
> {code}
> hive> show grant user user1 on all;
> FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
> 2014-03-06 08:52:39,238 ERROR exec.DDLTask (DDLTask.java:execute(423)) - java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.exec.Utilities.getDbTableName(Utilities.java:2033)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.getHivePrivilegeObject(DDLTask.java:819)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.showGrantsV2(DDLTask.java:612)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.showGrants(DDLTask.java:515)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:388)
>         at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:153)
>         at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:65)
>         at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1456)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1229)
>         at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1047)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:874)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:864)
>         at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:268)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:220)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:424)
>         at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:793)
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:687)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:626)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> {code}



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

Mime
View raw message