hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7317) authorization_explain.q fails when run in sequence
Date Tue, 08 Jul 2014 07:53:35 GMT

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

Navis commented on HIVE-7317:
-----------------------------

[~thejas] Could you try the patch attached? Seemed caused by authorization_9, which grants
SELECT on default database.

> authorization_explain.q fails when run in sequence
> --------------------------------------------------
>
>                 Key: HIVE-7317
>                 URL: https://issues.apache.org/jira/browse/HIVE-7317
>             Project: Hive
>          Issue Type: Bug
>          Components: Authorization, Tests
>            Reporter: Thejas M Nair
>            Assignee: Navis
>         Attachments: HIVE-7317.1.patch.txt
>
>
> NO PRECOMMIT TESTS
> The test seems to be picking up some state changed by another test , as it fails only
when run in sequence. (cd itests; mvn install test -Dtest=TestCliDriver -Dqfile_regex=.*authorization.*
 -Phadoop-2 -Dtest.output.overwrite=true)
> The diff -
> {code}
> --- a/ql/src/test/results/clientpositive/authorization_explain.q.out
> +++ b/ql/src/test/results/clientpositive/authorization_explain.q.out
> @@ -16,9 +16,6 @@ CURRENT_USER:
>    hive_test_user
>  OPERATION: 
>    QUERY
> -AUTHORIZATION_FAILURES: 
> -  No privilege 'Select' found for inputs { database:default, table:srcpart, columnName:key}
> -  No privilege 'Select' found for inputs { database:default, table:src, columnName:key}
>  Warning: Shuffle Join JOIN[4][tables = [src, srcpart]] in Stage 'Stage-1:MAPRED' is
a cross product
>  PREHOOK: query: explain formatted authorization select * from src join srcpart
>  PREHOOK: type: QUERY
> {code}



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

Mime
View raw message