hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject svn commit: r1609023 - in /hive/trunk/ql/src/test: queries/clientpositive/authorization_9.q results/clientpositive/authorization_9.q.out
Date Wed, 09 Jul 2014 06:44:50 GMT
Author: navis
Date: Wed Jul  9 06:44:49 2014
New Revision: 1609023

URL: http://svn.apache.org/r1609023
Log:
HIVE-7317 : authorization_explain.q fails when run in sequence (Navis reviewed by Thejas M
Nair)

Modified:
    hive/trunk/ql/src/test/queries/clientpositive/authorization_9.q
    hive/trunk/ql/src/test/results/clientpositive/authorization_9.q.out

Modified: hive/trunk/ql/src/test/queries/clientpositive/authorization_9.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/authorization_9.q?rev=1609023&r1=1609022&r2=1609023&view=diff
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/authorization_9.q (original)
+++ hive/trunk/ql/src/test/queries/clientpositive/authorization_9.q Wed Jul  9 06:44:49 2014
@@ -15,3 +15,11 @@ grant select on table dummy to user hive
 grant select (key, value) on table dummy to user hive_test_user2;
 
 show grant on all;
+
+revoke select on database default from user hive_test_user;
+revoke select on table dummy from user hive_test_user;
+revoke select (key, value) on table dummy from user hive_test_user;
+
+revoke select on database default from user hive_test_user2;
+revoke select on table dummy from user hive_test_user2;
+revoke select (key, value) on table dummy from user hive_test_user2;

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_9.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_9.q.out?rev=1609023&r1=1609022&r2=1609023&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_9.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_9.q.out Wed Jul  9 06:44:49
2014
@@ -72,3 +72,35 @@ default	dummy		key	hive_test_user	USER	S
 default	dummy		key	hive_test_user2	USER	Select	false	-1	hive_test_user
 default	dummy		value	hive_test_user	USER	Select	false	-1	hive_test_user
 default	dummy		value	hive_test_user2	USER	Select	false	-1	hive_test_user
+PREHOOK: query: revoke select on database default from user hive_test_user
+PREHOOK: type: REVOKE_PRIVILEGE
+POSTHOOK: query: revoke select on database default from user hive_test_user
+POSTHOOK: type: REVOKE_PRIVILEGE
+PREHOOK: query: revoke select on table dummy from user hive_test_user
+PREHOOK: type: REVOKE_PRIVILEGE
+PREHOOK: Output: default@dummy
+POSTHOOK: query: revoke select on table dummy from user hive_test_user
+POSTHOOK: type: REVOKE_PRIVILEGE
+POSTHOOK: Output: default@dummy
+PREHOOK: query: revoke select (key, value) on table dummy from user hive_test_user
+PREHOOK: type: REVOKE_PRIVILEGE
+PREHOOK: Output: default@dummy
+POSTHOOK: query: revoke select (key, value) on table dummy from user hive_test_user
+POSTHOOK: type: REVOKE_PRIVILEGE
+POSTHOOK: Output: default@dummy
+PREHOOK: query: revoke select on database default from user hive_test_user2
+PREHOOK: type: REVOKE_PRIVILEGE
+POSTHOOK: query: revoke select on database default from user hive_test_user2
+POSTHOOK: type: REVOKE_PRIVILEGE
+PREHOOK: query: revoke select on table dummy from user hive_test_user2
+PREHOOK: type: REVOKE_PRIVILEGE
+PREHOOK: Output: default@dummy
+POSTHOOK: query: revoke select on table dummy from user hive_test_user2
+POSTHOOK: type: REVOKE_PRIVILEGE
+POSTHOOK: Output: default@dummy
+PREHOOK: query: revoke select (key, value) on table dummy from user hive_test_user2
+PREHOOK: type: REVOKE_PRIVILEGE
+PREHOOK: Output: default@dummy
+POSTHOOK: query: revoke select (key, value) on table dummy from user hive_test_user2
+POSTHOOK: type: REVOKE_PRIVILEGE
+POSTHOOK: Output: default@dummy



Mime
View raw message