You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Navis (JIRA)" <ji...@apache.org> on 2014/07/08 09:51:35 UTC
[jira] [Updated] (HIVE-7317) authorization_explain.q fails when run
in sequence
[ https://issues.apache.org/jira/browse/HIVE-7317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Navis updated HIVE-7317:
------------------------
Description:
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}
was:
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}
> 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
>
> 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)