hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the...@apache.org
Subject svn commit: r1565475 [2/2] - in /hive/trunk: common/src/java/org/apache/hadoop/hive/conf/ data/conf/ itests/hive-unit/src/test/java/org/apache/hadoop/hive/jdbc/ itests/hive-unit/src/test/java/org/apache/hive/jdbc/ jdbc/src/java/org/apache/hive/jdbc/ me...
Date Thu, 06 Feb 2014 23:11:13 GMT
Modified: hive/trunk/ql/src/test/results/clientnegative/authorization_part.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/authorization_part.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/authorization_part.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/authorization_part.q.out Thu Feb  6 23:11:12 2014
@@ -66,13 +66,7 @@ PREHOOK: query: show grant group hive_te
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table authorization_part_fail
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	authorization_part_fail
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part_fail			hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: insert overwrite table authorization_part_fail partition (ds='2010') select key, value from src_auth
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src_auth
@@ -89,29 +83,14 @@ POSTHOOK: query: show grant group hive_t
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2010).key EXPRESSION [(src_auth)src_auth.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2010).value SIMPLE [(src_auth)src_auth.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part_fail
-partition	[2010]
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part_fail	[2010]	key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: show grant group hive_test_group1 on table authorization_part_fail partition (ds='2010')
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table authorization_part_fail partition (ds='2010')
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2010).key EXPRESSION [(src_auth)src_auth.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2010).value SIMPLE [(src_auth)src_auth.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part_fail
-partition	[2010]
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part_fail	[2010]		hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key, value from authorization_part_fail where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part_fail
@@ -164,15 +143,7 @@ POSTHOOK: Lineage: authorization_part_fa
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2010).value SIMPLE [(src_auth)src_auth.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2011).key EXPRESSION [(src_auth)src_auth.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2011).value SIMPLE [(src_auth)src_auth.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part_fail
-partition	[2011]
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part_fail	[2011]	key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: show grant group hive_test_group1 on table authorization_part_fail partition (ds='2011')
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table authorization_part_fail partition (ds='2011')
@@ -181,14 +152,7 @@ POSTHOOK: Lineage: authorization_part_fa
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2010).value SIMPLE [(src_auth)src_auth.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2011).key EXPRESSION [(src_auth)src_auth.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part_fail PARTITION(ds=2011).value SIMPLE [(src_auth)src_auth.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part_fail
-partition	[2011]
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part_fail	[2011]		hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key, value from authorization_part_fail where ds='2011' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part_fail

Modified: hive/trunk/ql/src/test/results/clientpositive/alter_rename_partition_authorization.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/alter_rename_partition_authorization.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/alter_rename_partition_authorization.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/alter_rename_partition_authorization.q.out Thu Feb  6 23:11:12 2014
@@ -52,27 +52,9 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: grant select(key) on table authorization_part to user hive_test_user
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@authorization_part
@@ -95,15 +77,7 @@ POSTHOOK: query: show grant user hive_te
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]	key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: alter table authorization_part partition (ds='2010') rename to partition (ds='2010_tmp')
 PREHOOK: type: ALTERTABLE_RENAMEPART
 PREHOOK: Input: default@authorization_part
@@ -122,15 +96,7 @@ POSTHOOK: query: show grant user hive_te
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010_tmp]
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010_tmp]	key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: drop table authorization_part
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@authorization_part

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_1.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_1.q.out Thu Feb  6 23:11:12 2014
@@ -23,13 +23,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table src_autho_test(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test(key)
@@ -94,14 +88,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test(key)
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test		key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: select key from src_autho_test order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src_autho_test
@@ -158,13 +145,7 @@ PREHOOK: query: show grant group hive_te
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: show grant group hive_test_group1 on table src_autho_test(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table src_autho_test(key)
@@ -229,14 +210,7 @@ PREHOOK: query: show grant group hive_te
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table src_autho_test(key)
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test		key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key from src_autho_test order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src_autho_test
@@ -293,8 +267,8 @@ PREHOOK: query: show role grant user hiv
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user hive_test_user
 POSTHOOK: type: SHOW_ROLE_GRANT
-src_role
-PUBLIC
+src_role	-1	hive_test_user	USER	true	-1	hive_test_user
+PUBLIC	-1			false	-1	
 PREHOOK: query: --column grant to role
 
 grant select(key) on table src_autho_test to role src_role
@@ -313,14 +287,7 @@ PREHOOK: query: show grant role src_role
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on table src_autho_test(key)
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-columnName	key
-principalName	src_role
-principalType	ROLE
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test		key	src_role	ROLE	Select	false	-1	hive_test_user
 PREHOOK: query: select key from src_autho_test order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src_autho_test
@@ -397,13 +364,7 @@ PREHOOK: query: show grant role src_role
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	src_role
-principalType	ROLE
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			src_role	ROLE	Select	false	-1	hive_test_user
 PREHOOK: query: show grant role src_role on table src_autho_test(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on table src_autho_test(key)

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_1_sql_std.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_1_sql_std.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_1_sql_std.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_1_sql_std.q.out Thu Feb  6 23:11:12 2014
@@ -17,13 +17,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: revoke select on table src_autho_test from user hive_test_user
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test
@@ -48,9 +42,8 @@ PREHOOK: query: show role grant user hiv
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user hive_test_user
 POSTHOOK: type: SHOW_ROLE_GRANT
-src_role
-PUBLIC
-
+src_role	-1	hive_test_user	USER	false	-1	hive_test_user
+PUBLIC	-1			false	-1	
 PREHOOK: query: --table grant to role
 
 grant select on table src_autho_test to role src_role
@@ -65,13 +58,7 @@ PREHOOK: query: show grant role src_role
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	src_role
-principalType	ROLE
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			src_role	ROLE	Select	false	-1	hive_test_user
 PREHOOK: query: revoke select on table src_autho_test from role src_role
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_2.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_2.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_2.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_2.q.out Thu Feb  6 23:11:12 2014
@@ -52,27 +52,9 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Drop	false	-1	hive_test_user
 PREHOOK: query: alter table authorization_part add partition (ds='2010')
 PREHOOK: type: ALTERTABLE_ADDPARTS
 PREHOOK: Input: default@authorization_part
@@ -84,30 +66,9 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part partition (ds='2010')
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: grant select(key) on table authorization_part to user hive_test_user
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@authorization_part
@@ -138,29 +99,14 @@ POSTHOOK: query: show grant user hive_te
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]	key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table authorization_part(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part(key)
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part		key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -213,15 +159,7 @@ POSTHOOK: query: show grant user hive_te
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]	key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -286,27 +224,9 @@ show grant user hive_test_user on table 
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Drop	false	-1	hive_test_user
 PREHOOK: query: alter table authorization_part add partition (ds='2010')
 PREHOOK: type: ALTERTABLE_ADDPARTS
 PREHOOK: Input: default@authorization_part
@@ -322,30 +242,9 @@ POSTHOOK: query: show grant user hive_te
 POSTHOOK: type: SHOW_GRANT
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: grant select on table authorization_part to user hive_test_user
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@authorization_part
@@ -384,38 +283,10 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Select	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table authorization_part
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part
@@ -424,34 +295,10 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -504,27 +351,9 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Drop	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table authorization_part partition (ds='2010')
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part partition (ds='2010')
@@ -533,38 +362,10 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Select	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -617,30 +418,9 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part	[2010]		hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: alter table authorization_part drop partition (ds='2010')
 PREHOOK: type: ALTERTABLE_DROPPARTS
 PREHOOK: Input: default@authorization_part
@@ -730,15 +510,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]	key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: show grant group hive_test_group1 on table authorization_part(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table authorization_part(key)
@@ -749,14 +521,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part		key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -825,15 +590,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]	key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -995,14 +752,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: show grant group hive_test_group1 on table authorization_part
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on table authorization_part
@@ -1015,13 +765,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -1098,14 +842,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]		hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_3.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_3.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_3.q.out Thu Feb  6 23:11:12 2014
@@ -25,20 +25,8 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	Drop	false	-1	hive_test_user
+default	src_autho_test			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: revoke select on table src_autho_test from user hive_test_user
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test
@@ -61,20 +49,8 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	Drop	false	-1	hive_test_user
+default	src_autho_test			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: revoke drop,select on table src_autho_test from user hive_test_user
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test
@@ -91,13 +67,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	Drop	false	-1	hive_test_user
 PREHOOK: query: revoke drop,select(key), select(value) on table src_autho_test from user hive_test_user
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_4.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_4.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_4.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_4.q.out Thu Feb  6 23:11:12 2014
@@ -19,13 +19,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	All
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	All	false	-1	hive_test_user
 PREHOOK: query: select key from src_autho_test order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@src_autho_test

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_5.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_5.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_5.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_5.q.out Thu Feb  6 23:11:12 2014
@@ -24,18 +24,8 @@ PREHOOK: query: SHOW GRANT USER hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: SHOW GRANT USER hive_test_user ON DATABASE test_db
 POSTHOOK: type: SHOW_GRANT
-database	test_db
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	test_db
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+test_db				hive_test_user	USER	Drop	false	-1	hive_test_user
+test_db				hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: CREATE ROLE db_test_role
 PREHOOK: type: CREATEROLE
 POSTHOOK: query: CREATE ROLE db_test_role
@@ -48,8 +38,8 @@ PREHOOK: query: SHOW ROLE GRANT USER hiv
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: SHOW ROLE GRANT USER hive_test_user
 POSTHOOK: type: SHOW_ROLE_GRANT
-db_test_role
-PUBLIC
+db_test_role	-1	hive_test_user	USER	true	-1	hive_test_user
+PUBLIC	-1			false	-1	
 PREHOOK: query: GRANT drop ON DATABASE test_db TO ROLE db_test_role
 PREHOOK: type: GRANT_PRIVILEGE
 POSTHOOK: query: GRANT drop ON DATABASE test_db TO ROLE db_test_role
@@ -62,18 +52,8 @@ PREHOOK: query: SHOW GRANT ROLE db_test_
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: SHOW GRANT ROLE db_test_role ON DATABASE test_db
 POSTHOOK: type: SHOW_GRANT
-database	test_db
-principalName	db_test_role
-principalType	ROLE
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	test_db
-principalName	db_test_role
-principalType	ROLE
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+test_db				db_test_role	ROLE	Drop	false	-1	hive_test_user
+test_db				db_test_role	ROLE	Select	false	-1	hive_test_user
 PREHOOK: query: DROP DATABASE IF EXISTS test_db
 PREHOOK: type: DROPDATABASE
 PREHOOK: Input: database:test_db

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_6.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_6.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_6.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_6.q.out Thu Feb  6 23:11:12 2014
@@ -52,27 +52,9 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Drop
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Drop	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: grant select(key) on table authorization_part to user hive_test_user
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@authorization_part
@@ -109,15 +91,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2010]
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2010]	key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table authorization_part(key) partition (ds='2011')
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part(key) partition (ds='2011')
@@ -126,15 +100,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-partition	[2011]
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part	[2011]	key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table authorization_part(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table authorization_part(key)
@@ -143,14 +109,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part		key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds>='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part
@@ -248,20 +207,8 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2010).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Create
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	authorization_part
-principalName	hive_test_user
-principalType	USER
-privilege	Update
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part			hive_test_user	USER	Create	false	-1	hive_test_user
+default	authorization_part			hive_test_user	USER	Update	false	-1	hive_test_user
 PREHOOK: query: grant select(key) on table authorization_part to user hive_test_user
 PREHOOK: type: GRANT_PRIVILEGE
 PREHOOK: Output: default@authorization_part
@@ -338,14 +285,7 @@ POSTHOOK: Lineage: authorization_part PA
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).key EXPRESSION [(src_auth_tmp)src_auth_tmp.FieldSchema(name:key, type:string, comment:null), ]
 POSTHOOK: Lineage: authorization_part PARTITION(ds=2011).value SIMPLE [(src_auth_tmp)src_auth_tmp.FieldSchema(name:value, type:string, comment:null), ]
-database	default
-table	authorization_part
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	authorization_part		key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: select key from authorization_part where ds>='2010' order by key limit 20
 PREHOOK: type: QUERY
 PREHOOK: Input: default@authorization_part

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=1565475&r1=1565474&r2=1565475&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 Thu Feb  6 23:11:12 2014
@@ -27,53 +27,17 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on database default
 POSTHOOK: type: SHOW_GRANT
-database	default
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default				hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on table dummy
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on table dummy
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	dummy
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	dummy			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on all
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on all
 POSTHOOK: type: SHOW_GRANT
-database	default
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	dummy
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	dummy
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
-database	default
-table	dummy
-columnName	value
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default				hive_test_user	USER	Select	false	-1	hive_test_user
+default	dummy			hive_test_user	USER	Select	false	-1	hive_test_user
+default	dummy		key	hive_test_user	USER	Select	false	-1	hive_test_user
+default	dummy		value	hive_test_user	USER	Select	false	-1	hive_test_user

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_role_grant1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_role_grant1.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_role_grant1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_role_grant1.q.out Thu Feb  6 23:11:12 2014
@@ -16,9 +16,8 @@ PREHOOK: query: show role grant user use
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user user2
 POSTHOOK: type: SHOW_ROLE_GRANT
-src_role2
-PUBLIC
-
+src_role2	-1	user2	USER	false	-1	hive_test_user
+PUBLIC	-1			false	-1	
 PREHOOK: query: show roles
 PREHOOK: type: SHOW_ROLES
 POSTHOOK: query: show roles
@@ -35,8 +34,7 @@ PREHOOK: query: show role grant user use
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user user2
 POSTHOOK: type: SHOW_ROLE_GRANT
-PUBLIC
-
+PUBLIC	-1			false	-1	
 PREHOOK: query: show roles
 PREHOOK: type: SHOW_ROLES
 POSTHOOK: query: show roles
@@ -63,9 +61,8 @@ PREHOOK: query: show role grant user use
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user user2
 POSTHOOK: type: SHOW_ROLE_GRANT
-src_role_wadmin
-PUBLIC
-
+src_role_wadmin	-1	user2	USER	false	-1	hive_test_user
+PUBLIC	-1			false	-1	
 PREHOOK: query: -- revoke role without role keyword
 revoke src_role_wadmin from user user2 with admin option
 PREHOOK: type: REVOKE_ROLE
@@ -76,8 +73,7 @@ PREHOOK: query: show role grant user use
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user user2
 POSTHOOK: type: SHOW_ROLE_GRANT
-PUBLIC
-
+PUBLIC	-1			false	-1	
 PREHOOK: query: -- drop roles
 show roles
 PREHOOK: type: SHOW_ROLES

Modified: hive/trunk/ql/src/test/results/clientpositive/authorization_view.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/authorization_view.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/authorization_view.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/authorization_view.q.out Thu Feb  6 23:11:12 2014
@@ -23,13 +23,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on view src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: show grant user hive_test_user on view src_autho_test(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on view src_autho_test(key)
@@ -66,14 +60,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test_user on view src_autho_test(key)
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-columnName	key
-principalName	hive_test_user
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test		key	hive_test_user	USER	Select	false	-1	hive_test_user
 PREHOOK: query: revoke select(key) on view src_autho_test from user hive_test_user
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test
@@ -102,13 +89,7 @@ PREHOOK: query: show grant group hive_te
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on view src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: show grant group hive_test_group1 on view src_autho_test(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on view src_autho_test(key)
@@ -145,14 +126,7 @@ PREHOOK: query: show grant group hive_te
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant group hive_test_group1 on view src_autho_test(key)
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-columnName	key
-principalName	hive_test_group1
-principalType	GROUP
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test		key	hive_test_group1	GROUP	Select	false	-1	hive_test_user
 PREHOOK: query: revoke select(key) on view src_autho_test from group hive_test_group1
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test
@@ -181,8 +155,8 @@ PREHOOK: query: show role grant user hiv
 PREHOOK: type: SHOW_ROLE_GRANT
 POSTHOOK: query: show role grant user hive_test_user
 POSTHOOK: type: SHOW_ROLE_GRANT
-src_role
-PUBLIC
+src_role	-1	hive_test_user	USER	true	-1	hive_test_user
+PUBLIC	-1			false	-1	
 PREHOOK: query: --column grant to role
 
 grant select(key) on view src_autho_test to role src_role
@@ -201,14 +175,7 @@ PREHOOK: query: show grant role src_role
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on view src_autho_test(key)
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-columnName	key
-principalName	src_role
-principalType	ROLE
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test		key	src_role	ROLE	Select	false	-1	hive_test_user
 PREHOOK: query: revoke select(key) on view src_autho_test from role src_role
 PREHOOK: type: REVOKE_PRIVILEGE
 PREHOOK: Output: default@src_autho_test
@@ -229,13 +196,7 @@ PREHOOK: query: show grant role src_role
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on view src_autho_test
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	src_autho_test
-principalName	src_role
-principalType	ROLE
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	src_autho_test			src_role	ROLE	Select	false	-1	hive_test_user
 PREHOOK: query: show grant role src_role on view src_autho_test(key)
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant role src_role on view src_autho_test(key)

Modified: hive/trunk/ql/src/test/results/clientpositive/keyword_1.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientpositive/keyword_1.q.out?rev=1565475&r1=1565474&r2=1565475&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientpositive/keyword_1.q.out (original)
+++ hive/trunk/ql/src/test/results/clientpositive/keyword_1.q.out Thu Feb  6 23:11:12 2014
@@ -48,13 +48,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test on table test_user
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	test_user
-principalName	hive_test
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	test_user			hive_test	USER	Select	false	-1	hive_test_user
 PREHOOK: query: drop table test_user
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@test_user
@@ -109,13 +103,7 @@ PREHOOK: query: show grant user hive_tes
 PREHOOK: type: SHOW_GRANT
 POSTHOOK: query: show grant user hive_test on table test_user
 POSTHOOK: type: SHOW_GRANT
-database	default
-table	test_user
-principalName	hive_test
-principalType	USER
-privilege	Select
-#### A masked pattern was here ####
-grantor	hive_test_user
+default	test_user			hive_test	USER	Select	false	-1	hive_test_user
 PREHOOK: query: drop table test_user
 PREHOOK: type: DROPTABLE
 PREHOOK: Input: default@test_user



Mime
View raw message