Modified: hive/branches/spark/ql/src/test/queries/clientpositive/udf_in_file.q URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/queries/clientpositive/udf_in_file.q?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/queries/clientpositive/udf_in_file.q (original) +++ hive/branches/spark/ql/src/test/queries/clientpositive/udf_in_file.q Sat Jul 26 23:45:46 2014 @@ -1,12 +1,30 @@ DESCRIBE FUNCTION in_file; +CREATE TABLE value_src (str_val char(3), ch_val STRING, vch_val varchar(10), + str_val_neg char(3), ch_val_neg STRING, vch_val_neg varchar(10)) + ROW FORMAT DELIMITED FIELDS TERMINATED BY ','; + +LOAD DATA LOCAL INPATH '../../data/files/in_file.dat' INTO TABLE value_src; + EXPLAIN -SELECT in_file("303", "../../data/files/test2.dat"), +SELECT in_file(str_val, "../../data/files/test2.dat"), + in_file(ch_val, "../../data/files/test2.dat"), + in_file(vch_val, "../../data/files/test2.dat"), + in_file(str_val_neg, "../../data/files/test2.dat"), + in_file(ch_val_neg, "../../data/files/test2.dat"), + in_file(vch_val_neg, "../../data/files/test2.dat"), + in_file("303", "../../data/files/test2.dat"), in_file("304", "../../data/files/test2.dat"), in_file(CAST(NULL AS STRING), "../../data/files/test2.dat") -FROM src LIMIT 1; +FROM value_src LIMIT 1; -SELECT in_file("303", "../../data/files/test2.dat"), +SELECT in_file(str_val, "../../data/files/test2.dat"), + in_file(ch_val, "../../data/files/test2.dat"), + in_file(vch_val, "../../data/files/test2.dat"), + in_file(str_val_neg, "../../data/files/test2.dat"), + in_file(ch_val_neg, "../../data/files/test2.dat"), + in_file(vch_val_neg, "../../data/files/test2.dat"), + in_file("303", "../../data/files/test2.dat"), in_file("304", "../../data/files/test2.dat"), in_file(CAST(NULL AS STRING), "../../data/files/test2.dat") -FROM src LIMIT 1; +FROM value_src LIMIT 1; \ No newline at end of file
Modified: hive/branches/spark/ql/src/test/queries/clientpositive/union27.q URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/queries/clientpositive/union27.q?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/queries/clientpositive/union27.q (original) +++ hive/branches/spark/ql/src/test/queries/clientpositive/union27.q Sat Jul 26 23:45:46 2014 @@ -1,4 +1,5 @@ create table jackson_sev_same as select * from src; create table dim_pho as select * from src; create table jackson_sev_add as select * from src; +explain select b.* from jackson_sev_same a join (select * from dim_pho union all select * from jackson_sev_add)b on a.key=b.key and b.key=97; select b.* from jackson_sev_same a join (select * from dim_pho union all select * from jackson_sev_add)b on a.key=b.key and b.key=97; Modified: hive/branches/spark/ql/src/test/resources/orc-file-dump-dictionary-threshold.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/resources/orc-file-dump-dictionary-threshold.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/resources/orc-file-dump-dictionary-threshold.out (original) +++ hive/branches/spark/ql/src/test/resources/orc-file-dump-dictionary-threshold.out Sat Jul 26 23:45:46 2014 @@ -103,3 +103,7 @@ Stripes: Encoding column 1: DIRECT_V2 Encoding column 2: DIRECT_V2 Encoding column 3: DIRECT_V2 + +File length: 1932446 bytes +Padding length: 0 bytes +Padding ratio: 0% Modified: hive/branches/spark/ql/src/test/resources/orc-file-dump.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/resources/orc-file-dump.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/resources/orc-file-dump.out (original) +++ hive/branches/spark/ql/src/test/resources/orc-file-dump.out Sat Jul 26 23:45:46 2014 @@ -51,7 +51,7 @@ Stripes: Encoding column 0: DIRECT Encoding column 1: DIRECT_V2 Encoding column 2: DIRECT_V2 - Encoding column 3: DICTIONARY_V2 + Encoding column 3: DICTIONARY_V2[35] Stripe: offset: 63966 data: 63755 rows: 5000 tail: 74 index: 122 Stream: column 0 section ROW_INDEX start: 63966 length 10 Stream: column 1 section ROW_INDEX start: 63976 length 34 @@ -65,7 +65,7 @@ Stripes: Encoding column 0: DIRECT Encoding column 1: DIRECT_V2 Encoding column 2: DIRECT_V2 - Encoding column 3: DICTIONARY_V2 + Encoding column 3: DICTIONARY_V2[35] Stripe: offset: 127917 data: 63766 rows: 5000 tail: 74 index: 124 Stream: column 0 section ROW_INDEX start: 127917 length 10 Stream: column 1 section ROW_INDEX start: 127927 length 36 @@ -79,7 +79,7 @@ Stripes: Encoding column 0: DIRECT Encoding column 1: DIRECT_V2 Encoding column 2: DIRECT_V2 - Encoding column 3: DICTIONARY_V2 + Encoding column 3: DICTIONARY_V2[35] Stripe: offset: 191881 data: 63796 rows: 5000 tail: 74 index: 123 Stream: column 0 section ROW_INDEX start: 191881 length 10 Stream: column 1 section ROW_INDEX start: 191891 length 35 @@ -93,7 +93,7 @@ Stripes: Encoding column 0: DIRECT Encoding column 1: DIRECT_V2 Encoding column 2: DIRECT_V2 - Encoding column 3: DICTIONARY_V2 + Encoding column 3: DICTIONARY_V2[35] Stripe: offset: 255874 data: 12940 rows: 1000 tail: 71 index: 123 Stream: column 0 section ROW_INDEX start: 255874 length 10 Stream: column 1 section ROW_INDEX start: 255884 length 36 @@ -107,4 +107,8 @@ Stripes: Encoding column 0: DIRECT Encoding column 1: DIRECT_V2 Encoding column 2: DIRECT_V2 - Encoding column 3: DICTIONARY_V2 + Encoding column 3: DICTIONARY_V2[35] + +File length: 269529 bytes +Padding length: 0 bytes +Padding ratio: 0% Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_addjar.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_addjar.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_addjar.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_addjar.q.out Sat Jul 26 23:45:46 2014 @@ -1,16 +1 @@ -PREHOOK: query: -- running a sql query to initialize the authorization - not needed in real HS2 mode -show tables -PREHOOK: type: SHOWTABLES -POSTHOOK: query: -- running a sql query to initialize the authorization - not needed in real HS2 mode -show tables -POSTHOOK: type: SHOWTABLES -alltypesorc -src -src1 -src_json -src_sequencefile -src_thrift -srcbucket -srcbucket2 -srcpart -Failed processing command add Insufficient privileges to execute add +Query returned non-zero code: 1, cause: Permission denied: Principal [name=hive_test_user, type=USER] does not have following privileges for operation ADD [[ADMIN PRIVILEGE] on Object [type=COMMAND_PARAMS, name=[jar, dummy.jar]]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_addpartition.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_addpartition.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_addpartition.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_addpartition.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table tpart(i int, j int) partiti POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@tpart -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.tpart] : [INSERT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation ALTERTABLE_ADDPARTS [[INSERT] on Object [type=TABLE_OR_VIEW, name=default.tpart]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner.q.out Sat Jul 26 23:45:46 2014 @@ -6,4 +6,4 @@ PREHOOK: type: CREATEDATABASE create database dbao POSTHOOK: type: CREATEDATABASE -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=DATABASE, name=dbao] : [ADMIN PRIVILEGE] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation ALTERDATABASE_OWNER [[ADMIN PRIVILEGE] on Object [type=DATABASE, name=dbao]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner_default.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner_default.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner_default.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_alter_db_owner_default.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=DATABASE, name=default] : [ADMIN PRIVILEGE] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation ALTERDATABASE_OWNER [[ADMIN PRIVILEGE] on Object [type=DATABASE, name=default]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_caseinsensitivity.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_caseinsensitivity.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_caseinsensitivity.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_caseinsensitivity.q.out Sat Jul 26 23:45:46 2014 @@ -59,4 +59,4 @@ testrole PREHOOK: query: create role TESTRoLE PREHOOK: type: CREATEROLE -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. InvalidObjectException(message:Role testrole already exists.) +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Role testrole already exists. Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func1.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: HiveAccessControlException Permission denied. Principal [name=hive_test_user, type=USER] does not have following privileges on Object [type=DATABASE, name=default] : [ADMIN PRIVILEGE] +FAILED: HiveAccessControlException Permission denied: Principal [name=hive_test_user, type=USER] does not have following privileges for operation CREATEFUNCTION [[ADMIN PRIVILEGE] on Object [type=DATABASE, name=default], [ADMIN PRIVILEGE] on Object [type=FUNCTION, name=perm_fn]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func2.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func2.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func2.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_func2.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: HiveAccessControlException Permission denied. Principal [name=hive_test_user, type=USER] does not have following privileges on Object [type=DATABASE, name=default] : [ADMIN PRIVILEGE] +FAILED: HiveAccessControlException Permission denied: Principal [name=hive_test_user, type=USER] does not have following privileges for operation CREATEFUNCTION [[ADMIN PRIVILEGE] on Object [type=FUNCTION, name=temp_fn]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_macro1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_macro1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_macro1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_create_macro1.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: HiveAccessControlException Permission denied. Principal [name=hive_test_user, type=USER] does not have following privileges on Object [type=DATABASE, name=default] : [ADMIN PRIVILEGE] +FAILED: HiveAccessControlException Permission denied: Principal [name=hive_test_user, type=USER] does not have following privileges for operation CREATEMACRO [[ADMIN PRIVILEGE] on Object [type=DATABASE, name=default]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_createview.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_createview.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_createview.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_createview.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [SELECT with grant] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation CREATEVIEW [[SELECT with grant] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_ctas.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_ctas.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_ctas.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_ctas.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation CREATETABLE_AS_SELECT [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_desc_table_nosel.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_desc_table_nosel.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_desc_table_nosel.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_desc_table_nosel.q.out Sat Jul 26 23:45:46 2014 @@ -26,4 +26,4 @@ PREHOOK: Output: default@t1 POSTHOOK: query: revoke select on table t1 from user user2 POSTHOOK: type: REVOKE_PRIVILEGE POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DESCTABLE [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_dfs.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_dfs.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_dfs.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_dfs.q.out Sat Jul 26 23:45:46 2014 @@ -1,16 +1 @@ -PREHOOK: query: -- running a sql query to initialize the authorization - not needed in real HS2 mode -show tables -PREHOOK: type: SHOWTABLES -POSTHOOK: query: -- running a sql query to initialize the authorization - not needed in real HS2 mode -show tables -POSTHOOK: type: SHOWTABLES -alltypesorc -src -src1 -src_json -src_sequencefile -src_thrift -srcbucket -srcbucket2 -srcpart -Failed processing command dfs Insufficient privileges to execute dfs +Query returned non-zero code: 1, cause: Permission denied: Principal [name=hive_test_user, type=USER] does not have following privileges for operation DFS [[ADMIN PRIVILEGE] on Object [type=COMMAND_PARAMS, name=[-ls, dummy_file]]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_cascade.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_cascade.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_cascade.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_cascade.q.out Sat Jul 26 23:45:46 2014 @@ -50,4 +50,4 @@ POSTHOOK: query: show current roles POSTHOOK: type: SHOW_ROLES public -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=dba2.tab2] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DROPDATABASE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=dba2.tab2]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_empty.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_empty.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_empty.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_drop_db_empty.q.out Sat Jul 26 23:45:46 2014 @@ -46,4 +46,4 @@ POSTHOOK: query: show current roles POSTHOOK: type: SHOW_ROLES public -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=DATABASE, name=dba2] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DROPDATABASE [[OBJECT OWNERSHIP] on Object [type=DATABASE, name=dba2]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_droppartition.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_droppartition.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_droppartition.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_droppartition.q.out Sat Jul 26 23:45:46 2014 @@ -16,4 +16,4 @@ POSTHOOK: type: ALTERTABLE_ADDPARTS #### A masked pattern was here #### POSTHOOK: Output: default@tpart POSTHOOK: Output: default@tpart@k=abc -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.tpart] : [DELETE] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation ALTERTABLE_DROPPARTS [[DELETE] on Object [type=TABLE_OR_VIEW, name=default.tpart]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_1.q.out Sat Jul 26 23:45:46 2014 @@ -14,5 +14,4 @@ POSTHOOK: Output: default@authorization_ PREHOOK: query: grant Create on table authorization_fail_1 to user hive_test_user PREHOOK: type: GRANT_PRIVILEGE PREHOOK: Output: default@authorization_fail_1 -Error: java.lang.RuntimeException: InvalidObjectException(message:Create is already granted on table [default,authorization_fail_1] by hive_test_user) -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: InvalidObjectException(message:CREATE is already granted on table [default,authorization_fail_1] by hive_test_user) Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_3.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_3.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_3.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_3.q.out Sat Jul 26 23:45:46 2014 @@ -26,7 +26,7 @@ PREHOOK: query: show grant user hive_tes PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail_3 POSTHOOK: type: SHOW_GRANT -default authorization_fail_3 hive_test_user USER Create false -1 hive_test_user +default authorization_fail_3 hive_test_user USER CREATE false -1 hive_test_user PREHOOK: query: show grant user hive_test_user on table authorization_fail_3 partition (ds='2010') PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail_3 partition (ds='2010') Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_4.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_4.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_4.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_4.q.out Sat Jul 26 23:45:46 2014 @@ -40,12 +40,12 @@ PREHOOK: query: show grant user hive_tes PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail_4 POSTHOOK: type: SHOW_GRANT -default authorization_fail_4 hive_test_user USER Alter false -1 hive_test_user -default authorization_fail_4 hive_test_user USER Create false -1 hive_test_user +default authorization_fail_4 hive_test_user USER ALTER false -1 hive_test_user +default authorization_fail_4 hive_test_user USER CREATE false -1 hive_test_user PREHOOK: query: show grant user hive_test_user on table authorization_fail_4 partition (ds='2010') PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail_4 partition (ds='2010') POSTHOOK: type: SHOW_GRANT -default authorization_fail_4 [2010] hive_test_user USER Alter false -1 hive_test_user -default authorization_fail_4 [2010] hive_test_user USER Create false -1 hive_test_user +default authorization_fail_4 [2010] hive_test_user USER ALTER false -1 hive_test_user +default authorization_fail_4 [2010] hive_test_user USER CREATE false -1 hive_test_user Authorization failed:No privilege 'Select' found for inputs { database:default, table:authorization_fail_4, partitionName:ds=2010, columnName:key}. Use SHOW GRANT to get more details. Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_5.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_5.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_5.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_5.q.out Sat Jul 26 23:45:46 2014 @@ -46,16 +46,16 @@ PREHOOK: query: show grant user hive_tes PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail POSTHOOK: type: SHOW_GRANT -default authorization_fail hive_test_user USER Alter false -1 hive_test_user -default authorization_fail hive_test_user USER Create false -1 hive_test_user -default authorization_fail hive_test_user USER Select false -1 hive_test_user +default authorization_fail hive_test_user USER ALTER false -1 hive_test_user +default authorization_fail hive_test_user USER CREATE false -1 hive_test_user +default authorization_fail hive_test_user USER SELECT false -1 hive_test_user PREHOOK: query: show grant user hive_test_user on table authorization_fail partition (ds='2010') PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail partition (ds='2010') POSTHOOK: type: SHOW_GRANT -default authorization_fail [2010] hive_test_user USER Alter false -1 hive_test_user -default authorization_fail [2010] hive_test_user USER Create false -1 hive_test_user -default authorization_fail [2010] hive_test_user USER Select false -1 hive_test_user +default authorization_fail [2010] hive_test_user USER ALTER false -1 hive_test_user +default authorization_fail [2010] hive_test_user USER CREATE false -1 hive_test_user +default authorization_fail [2010] hive_test_user USER SELECT false -1 hive_test_user PREHOOK: query: revoke Select on table authorization_fail partition (ds='2010') from user hive_test_user PREHOOK: type: REVOKE_PRIVILEGE PREHOOK: Output: default@authorization_fail@ds=2010 @@ -66,6 +66,6 @@ PREHOOK: query: show grant user hive_tes PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant user hive_test_user on table authorization_fail partition (ds='2010') POSTHOOK: type: SHOW_GRANT -default authorization_fail [2010] hive_test_user USER Alter false -1 hive_test_user -default authorization_fail [2010] hive_test_user USER Create false -1 hive_test_user +default authorization_fail [2010] hive_test_user USER ALTER false -1 hive_test_user +default authorization_fail [2010] hive_test_user USER CREATE false -1 hive_test_user Authorization failed:No privilege 'Select' found for inputs { database:default, table:authorization_fail, partitionName:ds=2010, columnName:key}. Use SHOW GRANT to get more details. Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_7.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_7.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_7.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_fail_7.q.out Sat Jul 26 23:45:46 2014 @@ -33,7 +33,7 @@ PREHOOK: query: show grant role hive_tes PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant role hive_test_role_fail on table authorization_fail POSTHOOK: type: SHOW_GRANT -default authorization_fail hive_test_role_fail ROLE Select false -1 hive_test_user +default authorization_fail hive_test_role_fail ROLE SELECT false -1 hive_test_user PREHOOK: query: drop role hive_test_role_fail PREHOOK: type: DROPROLE POSTHOOK: query: drop role hive_test_role_fail Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_allpriv.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_allpriv.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_allpriv.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_allpriv.q.out Sat Jul 26 23:45:46 2014 @@ -21,4 +21,4 @@ PREHOOK: query: -- try grant all to user GRANT ALL ON table_priv_allf TO USER user3 PREHOOK: type: GRANT_PRIVILEGE PREHOOK: Output: default@table_priv_allf -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.table_priv_allf] : [SELECT with grant, UPDATE with grant, DELETE with grant] +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation GRANT_PRIVILEGE [[SELECT with grant, UPDATE with grant, DELETE with grant] on Object [type=TABLE_OR_VIEW, name=default.table_priv_allf]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail1.q.out Sat Jul 26 23:45:46 2014 @@ -13,4 +13,4 @@ PREHOOK: query: -- try grant insert to u GRANT INSERT ON table_priv_gfail1 TO USER user3 PREHOOK: type: GRANT_PRIVILEGE PREHOOK: Output: default@table_priv_gfail1 -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.table_priv_gfail1] : [INSERT with grant] +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation GRANT_PRIVILEGE [[INSERT with grant] on Object [type=TABLE_OR_VIEW, name=default.table_priv_gfail1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_grant_table_fail_nogrant.q.out Sat Jul 26 23:45:46 2014 @@ -21,4 +21,4 @@ PREHOOK: query: -- try grant insert to u GRANT INSERT ON table_priv_gfail1 TO USER user3 PREHOOK: type: GRANT_PRIVILEGE PREHOOK: Output: default@table_priv_gfail1 -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.table_priv_gfail1] : [INSERT with grant] +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation GRANT_PRIVILEGE [[INSERT with grant] on Object [type=TABLE_OR_VIEW, name=default.table_priv_gfail1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noinspriv.q.out Sat Jul 26 23:45:46 2014 @@ -14,4 +14,4 @@ POSTHOOK: query: create table user2tab(i POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@user2tab -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [INSERT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[INSERT] on Object [type=TABLE_OR_VIEW, name=default.t1, action=INSERT]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_insert_noselectpriv.q.out Sat Jul 26 23:45:46 2014 @@ -14,4 +14,4 @@ POSTHOOK: query: create table t2(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t2 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_insertoverwrite_nodel.q.out Sat Jul 26 23:45:46 2014 @@ -33,4 +33,4 @@ POSTHOOK: query: create table user1tab(i POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@user1tab -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [DELETE] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[DELETE] on Object [type=TABLE_OR_VIEW, name=default.t1, action=INSERT_OVERWRITE]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_rename.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation ALTERTABLE_RENAME [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1], [OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_alter_tab_serdeprop.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation ALTERTABLE_SERDEPROPERTIES [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1], [OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_tab.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DROPTABLE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_not_owner_drop_view.q.out Sat Jul 26 23:45:46 2014 @@ -14,4 +14,4 @@ POSTHOOK: query: create view vt1 as sele POSTHOOK: type: CREATEVIEW POSTHOOK: Input: default@t1 POSTHOOK: Output: default@vt1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.vt1] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation DROPVIEW [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.vt1], [OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.vt1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_part.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_part.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_part.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_part.q.out Sat Jul 26 23:45:46 2014 @@ -68,7 +68,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 -default authorization_part_fail hive_test_group1 GROUP Select false -1 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 @@ -83,12 +83,12 @@ PREHOOK: query: show grant group hive_te PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant group hive_test_group1 on table authorization_part_fail(key) partition (ds='2010') POSTHOOK: type: SHOW_GRANT -default authorization_part_fail [2010] key hive_test_group1 GROUP Select false -1 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 -default authorization_part_fail [2010] hive_test_group1 GROUP Select false -1 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 @@ -133,12 +133,12 @@ PREHOOK: query: show grant group hive_te PREHOOK: type: SHOW_GRANT POSTHOOK: query: show grant group hive_test_group1 on table authorization_part_fail(key) partition (ds='2011') POSTHOOK: type: SHOW_GRANT -default authorization_part_fail [2011] key hive_test_group1 GROUP Select false -1 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') POSTHOOK: type: SHOW_GRANT -default authorization_part_fail [2011] hive_test_group1 GROUP Select false -1 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/branches/spark/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_priv_current_role_neg.q.out Sat Jul 26 23:45:46 2014 @@ -76,4 +76,4 @@ PREHOOK: query: -- set role to public, s grant all on table tpriv_current_role to user user5 PREHOOK: type: GRANT_PRIVILEGE PREHOOK: Output: default@tpriv_current_role -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.tpriv_current_role] : [SELECT with grant, INSERT with grant, UPDATE with grant, DELETE with grant] +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation GRANT_PRIVILEGE [[SELECT with grant, INSERT with grant, UPDATE with grant, DELETE with grant] on Object [type=TABLE_OR_VIEW, name=default.tpriv_current_role]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_create.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_create.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_create.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_create.q.out Sat Jul 26 23:45:46 2014 @@ -1,4 +1,3 @@ PREHOOK: query: create role PUBLIC PREHOOK: type: CREATEROLE -Error in role operation create_role on role name public, error message MetaException(message:public role implictly exists. It can't be created.) -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:public role implictly exists. It can't be created.) Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_drop.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_drop.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_drop.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_public_drop.q.out Sat Jul 26 23:45:46 2014 @@ -1,4 +1,3 @@ PREHOOK: query: drop role PUBLIC PREHOOK: type: DROPROLE -Error in role operation drop_role on role name public, error message MetaException(message:public/admin role can't be dropped.) -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:public/admin role can't be dropped.) Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles1.q.out Sat Jul 26 23:45:46 2014 @@ -19,4 +19,4 @@ POSTHOOK: type: GRANT_ROLE PREHOOK: query: -- this will create a cycle grant role role2 to role role1 PREHOOK: type: GRANT_ROLE -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: Cannot grant role role1 to role2 as role2 already belongs to the role role1. (no cycles allowed) +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot grant role role1 to role2 as role2 already belongs to the role role1. (no cycles allowed) Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles2.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles2.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles2.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_cycles2.q.out Sat Jul 26 23:45:46 2014 @@ -45,4 +45,4 @@ POSTHOOK: type: GRANT_ROLE PREHOOK: query: -- this will create a cycle in middle of the hierarchy grant role role2 to role role4 PREHOOK: type: GRANT_ROLE -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: Cannot grant role role4 to role2 as role2 already belongs to the role role4. (no cycles allowed) +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Cannot grant role role4 to role2 as role2 already belongs to the role role4. (no cycles allowed) Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant.q.out Sat Jul 26 23:45:46 2014 @@ -41,4 +41,4 @@ POSTHOOK: query: set role role_noadmin POSTHOOK: type: SHOW_ROLES PREHOOK: query: grant src_role_wadmin to user user3 PREHOOK: type: GRANT_ROLE -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAccessControlException: Current user : user2 is not allowed to grant role. User has to belong to ADMIN role and have it as current role, for this action. Otherwise, grantor need to have ADMIN privileges on role being granted and have it as a current role for this action. +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Current user : user2 is not allowed to grant role. User has to belong to ADMIN role and have it as current role, for this action. Otherwise, grantor need to have ADMIN OPTION on role being granted and have it as a current role for this action. Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant_nosuchrole.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant_nosuchrole.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant_nosuchrole.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_role_grant_nosuchrole.q.out Sat Jul 26 23:45:46 2014 @@ -16,4 +16,4 @@ create role role1 POSTHOOK: type: CREATEROLE PREHOOK: query: grant role1 to role nosuchrole PREHOOK: type: GRANT_ROLE -FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: Error granting roles for nosuchrole to role role1: NoSuchObjectException(message:Role nosuchrole does not exist) +FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Error granting roles for nosuchrole to role role1: NoSuchObjectException(message:Role nosuchrole does not exist) Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_rolehierarchy_privs.q.out Sat Jul 26 23:45:46 2014 @@ -206,4 +206,4 @@ role1 role2 role4 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_select.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_select.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_select.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_select.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_select_view.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_select_view.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_select_view.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_select_view.q.out Sat Jul 26 23:45:46 2014 @@ -14,4 +14,4 @@ POSTHOOK: query: create view v1 as selec POSTHOOK: type: CREATEVIEW POSTHOOK: Input: default@t1 POSTHOOK: Output: default@v1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.v1] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation QUERY [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.v1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_show_parts_nosel.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t_show_parts(i int) partiti POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t_show_parts -FAILED: HiveAccessControlException Permission denied. Principal [name=user2, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t_show_parts] : [SELECT] +FAILED: HiveAccessControlException Permission denied: Principal [name=user2, type=USER] does not have following privileges for operation SHOWPARTITIONS [[SELECT] on Object [type=TABLE_OR_VIEW, name=default.t_show_parts]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorization_truncate.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorization_truncate.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorization_truncate.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorization_truncate.q.out Sat Jul 26 23:45:46 2014 @@ -7,4 +7,4 @@ create table t1(i int, j int) POSTHOOK: type: CREATETABLE POSTHOOK: Output: database:default POSTHOOK: Output: default@t1 -FAILED: HiveAccessControlException Permission denied. Principal [name=user1, type=USER] does not have following privileges on Object [type=TABLE_OR_VIEW, name=default.t1] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does not have following privileges for operation TRUNCATETABLE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.t1]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/authorize_create_tbl.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/authorize_create_tbl.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/authorize_create_tbl.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/authorize_create_tbl.q.out Sat Jul 26 23:45:46 2014 @@ -6,4 +6,4 @@ PREHOOK: query: use db23221 PREHOOK: type: SWITCHDATABASE POSTHOOK: query: use db23221 POSTHOOK: type: SWITCHDATABASE -FAILED: HiveAccessControlException Permission denied. Principal [name=user44, type=USER] does not have following privileges on Object [type=DATABASE, name=db23221] : [OBJECT OWNERSHIP] +FAILED: HiveAccessControlException Permission denied: Principal [name=user44, type=USER] does not have following privileges for operation CREATETABLE [[OBJECT OWNERSHIP] on Object [type=DATABASE, name=db23221]] Modified: hive/branches/spark/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/cluster_tasklog_retrieval.q.out Sat Jul 26 23:45:46 2014 @@ -2,12 +2,12 @@ PREHOOK: query: -- TaskLog retrieval upo CREATE TEMPORARY FUNCTION evaluate_npe AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFEvaluateNPE' PREHOOK: type: CREATEFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: evaluate_npe POSTHOOK: query: -- TaskLog retrieval upon Null Pointer Exception in Cluster CREATE TEMPORARY FUNCTION evaluate_npe AS 'org.apache.hadoop.hive.ql.udf.generic.GenericUDFEvaluateNPE' POSTHOOK: type: CREATEFUNCTION -POSTHOOK: Output: database:default +POSTHOOK: Output: evaluate_npe PREHOOK: query: FROM src SELECT evaluate_npe(src.key) LIMIT 1 PREHOOK: type: QUERY Modified: hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonexistent_class.q.out Sat Jul 26 23:45:46 2014 @@ -1,5 +1,6 @@ PREHOOK: query: create function default.badfunc as 'my.nonexistent.class' PREHOOK: type: CREATEFUNCTION PREHOOK: Output: database:default +PREHOOK: Output: default.badfunc FAILED: Class my.nonexistent.class not found FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/create_function_nonudf_class.q.out Sat Jul 26 23:45:46 2014 @@ -1,5 +1,6 @@ PREHOOK: query: create function default.badfunc as 'java.lang.String' PREHOOK: type: CREATEFUNCTION PREHOOK: Output: database:default +PREHOOK: Output: default.badfunc FAILED: Class java.lang.String does not implement UDF, GenericUDF, or UDAF FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/create_udaf_failure.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/create_udaf_failure.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/create_udaf_failure.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/create_udaf_failure.q.out Sat Jul 26 23:45:46 2014 @@ -1,7 +1,7 @@ PREHOOK: query: CREATE TEMPORARY FUNCTION test_udaf AS 'org.apache.hadoop.hive.ql.udf.UDAFWrongArgLengthForTestCase' PREHOOK: type: CREATEFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: test_udaf POSTHOOK: query: CREATE TEMPORARY FUNCTION test_udaf AS 'org.apache.hadoop.hive.ql.udf.UDAFWrongArgLengthForTestCase' POSTHOOK: type: CREATEFUNCTION -POSTHOOK: Output: database:default +POSTHOOK: Output: test_udaf FAILED: SemanticException org.apache.hadoop.hive.ql.exec.UDFArgumentLengthException: public boolean org.apache.hadoop.hive.ql.udf.UDAFWrongArgLengthForTestCase$UDAFWrongArgLengthForTestCaseEvaluator.merge() requires 0 arguments but 1 are passed in. Modified: hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_genericudf.q.out Sat Jul 26 23:45:46 2014 @@ -1,5 +1,5 @@ PREHOOK: query: CREATE TEMPORARY FUNCTION dummy_genericudf AS 'org.apache.hadoop.hive.ql.udf.generic.DummyGenericUDF' PREHOOK: type: CREATEFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: dummy_genericudf FAILED: Class org.apache.hadoop.hive.ql.udf.generic.DummyGenericUDF not found FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/create_unknown_udf_udaf.q.out Sat Jul 26 23:45:46 2014 @@ -1,5 +1,5 @@ PREHOOK: query: CREATE TEMPORARY FUNCTION dummy_function AS 'org.apache.hadoop.hive.ql.udf.DummyFunction' PREHOOK: type: CREATEFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: dummy_function FAILED: Class org.apache.hadoop.hive.ql.udf.DummyFunction not found FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/drop_native_udf.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/drop_native_udf.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/drop_native_udf.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/drop_native_udf.q.out Sat Jul 26 23:45:46 2014 @@ -1,4 +1,4 @@ PREHOOK: query: DROP TEMPORARY FUNCTION max PREHOOK: type: DROPFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: max FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/fileformat_bad_class.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/fileformat_bad_class.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/fileformat_bad_class.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/fileformat_bad_class.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException [Error 10055]: Output Format must implement HiveOutputFormat, otherwise it should be either IgnoreKeyTextOutputFormat or SequenceFileOutputFormat +FAILED: SemanticException Cannot find class 'ClassDoesNotExist' Modified: hive/branches/spark/ql/src/test/results/clientnegative/genericFileFormat.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/genericFileFormat.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/genericFileFormat.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/genericFileFormat.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Unrecognized file format in STORED AS clause: foo +FAILED: SemanticException Unrecognized file format in STORED AS clause: 'FOO' Modified: hive/branches/spark/ql/src/test/results/clientnegative/insert_into1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/insert_into1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/insert_into1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/insert_into1.q.out Sat Jul 26 23:45:46 2014 @@ -13,8 +13,5 @@ PREHOOK: query: LOCK TABLE insert_into1_ PREHOOK: type: LOCKTABLE POSTHOOK: query: LOCK TABLE insert_into1_neg SHARED POSTHOOK: type: LOCKTABLE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE +Unable to acquire IMPLICIT, EXCLUSIVE lock default@insert_into1_neg after 5 attempts. FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time Modified: hive/branches/spark/ql/src/test/results/clientnegative/insert_into2.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/insert_into2.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/insert_into2.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/insert_into2.q.out Sat Jul 26 23:45:46 2014 @@ -13,8 +13,5 @@ PREHOOK: query: LOCK TABLE insert_into1_ PREHOOK: type: LOCKTABLE POSTHOOK: query: LOCK TABLE insert_into1_neg EXCLUSIVE POSTHOOK: type: LOCKTABLE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE -conflicting lock present for default@insert_into1_neg mode EXCLUSIVE +Unable to acquire IMPLICIT, EXCLUSIVE lock default@insert_into1_neg after 5 attempts. FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time Modified: hive/branches/spark/ql/src/test/results/clientnegative/insert_into3.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/insert_into3.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/insert_into3.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/insert_into3.q.out Sat Jul 26 23:45:46 2014 @@ -27,8 +27,5 @@ PREHOOK: query: LOCK TABLE insert_into3_ PREHOOK: type: LOCKTABLE POSTHOOK: query: LOCK TABLE insert_into3_neg PARTITION (ds='1') SHARED POSTHOOK: type: LOCKTABLE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE +Unable to acquire IMPLICIT, EXCLUSIVE lock default@insert_into3_neg@ds=1 after 5 attempts. FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time Modified: hive/branches/spark/ql/src/test/results/clientnegative/insert_into4.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/insert_into4.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/insert_into4.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/insert_into4.q.out Sat Jul 26 23:45:46 2014 @@ -27,8 +27,5 @@ PREHOOK: query: LOCK TABLE insert_into3_ PREHOOK: type: LOCKTABLE POSTHOOK: query: LOCK TABLE insert_into3_neg PARTITION (ds='1') EXCLUSIVE POSTHOOK: type: LOCKTABLE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE -conflicting lock present for default@insert_into3_neg@ds=1 mode EXCLUSIVE +Unable to acquire IMPLICIT, EXCLUSIVE lock default@insert_into3_neg@ds=1 after 5 attempts. FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time Modified: hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_1.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string or binary data can be cast into binary data types. +FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string, char, varchar or binary data can be cast into binary data types. Modified: hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_2.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_2.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_2.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_2.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string or binary data can be cast into binary data types. +FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string, char, varchar or binary data can be cast into binary data types. Modified: hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_3.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_3.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_3.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_3.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string or binary data can be cast into binary data types. +FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string, char, varchar or binary data can be cast into binary data types. Modified: hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_4.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_4.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_4.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_4.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string or binary data can be cast into binary data types. +FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string, char, varchar or binary data can be cast into binary data types. Modified: hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_5.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_5.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_5.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_5.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string or binary data can be cast into binary data types. +FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string, char, varchar or binary data can be cast into binary data types. Modified: hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_6.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_6.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_6.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/invalid_cast_to_binary_6.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string or binary data can be cast into binary data types. +FAILED: SemanticException Line 0:-1 Wrong arguments '2': Only string, char, varchar or binary data can be cast into binary data types. Modified: hive/branches/spark/ql/src/test/results/clientnegative/lockneg1.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/lockneg1.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/lockneg1.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/lockneg1.q.out Sat Jul 26 23:45:46 2014 @@ -29,5 +29,5 @@ POSTHOOK: query: LOCK TABLE tstsrc SHARE POSTHOOK: type: LOCKTABLE PREHOOK: query: LOCK TABLE tstsrc EXCLUSIVE PREHOOK: type: LOCKTABLE -conflicting lock present for default@tstsrc mode EXCLUSIVE +Unable to acquire EXPLICIT, EXCLUSIVE lock default@tstsrc after 1 attempts. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_db_lock_conflict.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_db_lock_conflict.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_db_lock_conflict.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_db_lock_conflict.q.out Sat Jul 26 23:45:46 2014 @@ -8,5 +8,5 @@ POSTHOOK: query: lock database lockneg4 POSTHOOK: type: LOCKDATABASE PREHOOK: query: lock database lockneg4 shared PREHOOK: type: LOCKDATABASE -conflicting lock present for lockneg4 mode SHARED +Unable to acquire EXPLICIT, SHARED lock lockneg4 after 1 attempts. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_drop_locked_db.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_drop_locked_db.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_drop_locked_db.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_drop_locked_db.q.out Sat Jul 26 23:45:46 2014 @@ -10,5 +10,5 @@ PREHOOK: query: show locks database lock PREHOOK: type: SHOWLOCKS POSTHOOK: query: show locks database lockneg9 POSTHOOK: type: SHOWLOCKS -conflicting lock present for lockneg9 mode EXCLUSIVE +Unable to acquire IMPLICIT, EXCLUSIVE lock lockneg9 after 1 attempts. FAILED: Error in acquiring locks: Locks on the underlying objects cannot be acquired. retry after some time Modified: hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_lock_db_in_use.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_lock_db_in_use.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_lock_db_in_use.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/lockneg_try_lock_db_in_use.q.out Sat Jul 26 23:45:46 2014 @@ -38,5 +38,5 @@ POSTHOOK: type: SHOWLOCKS lockneg2@tstsrcpart SHARED PREHOOK: query: lock database lockneg2 exclusive PREHOOK: type: LOCKDATABASE -conflicting lock present for lockneg2 mode EXCLUSIVE +Unable to acquire EXPLICIT, EXCLUSIVE lock lockneg2 after 1 attempts. FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong5.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong5.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong5.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong5.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException [Error 10016]: Line 2:21 Argument type mismatch '321.23': Argument 1 of function FORMAT_NUMBER must be "tinyint" or "smallint" or "int" or "bigint" or "double" or "float", but "array<double>" was found. +FAILED: SemanticException [Error 10016]: Line 2:21 Argument type mismatch '321.23': Argument 1 of function FORMAT_NUMBER must be "tinyint" or "smallint" or "int" or "bigint" or "double" or "float" or "decimal", but "array<double>" was found. Modified: hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong7.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong7.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong7.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/udf_format_number_wrong7.q.out Sat Jul 26 23:45:46 2014 @@ -1 +1 @@ -FAILED: SemanticException [Error 10016]: Line 2:21 Argument type mismatch '4': Argument 1 of function FORMAT_NUMBER must be "tinyint" or "smallint" or "int" or "bigint" or "double" or "float", but "string" was found. +FAILED: SemanticException [Error 10016]: Line 2:21 Argument type mismatch '4': Argument 1 of function FORMAT_NUMBER must be "tinyint" or "smallint" or "int" or "bigint" or "double" or "float" or "decimal", but "string" was found. Modified: hive/branches/spark/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/udf_function_does_not_implement_udf.q.out Sat Jul 26 23:45:46 2014 @@ -1,5 +1,5 @@ PREHOOK: query: CREATE TEMPORARY FUNCTION moo AS 'org.apache.hadoop.hive.ql.Driver' PREHOOK: type: CREATEFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: moo FAILED: Class org.apache.hadoop.hive.ql.Driver does not implement UDF, GenericUDF, or UDAF FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask Modified: hive/branches/spark/ql/src/test/results/clientnegative/udf_local_resource.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/udf_local_resource.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/udf_local_resource.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/udf_local_resource.q.out Sat Jul 26 23:45:46 2014 @@ -1,4 +1,5 @@ PREHOOK: query: create function lookup as 'org.apache.hadoop.hive.ql.udf.UDFFileLookup' using file '../../data/files/sales.txt' PREHOOK: type: CREATEFUNCTION PREHOOK: Output: database:default +PREHOOK: Output: lookup FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask. Hive warehouse is non-local, but ../../data/files/sales.txt specifies file on local filesystem. Resources on non-local warehouse should specify a non-local scheme/path Modified: hive/branches/spark/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/udf_nonexistent_resource.q.out Sat Jul 26 23:45:46 2014 @@ -1,5 +1,6 @@ PREHOOK: query: create function lookup as 'org.apache.hadoop.hive.ql.udf.UDFFileLookup' using file 'nonexistent_file.txt' PREHOOK: type: CREATEFUNCTION PREHOOK: Output: database:default +PREHOOK: Output: lookup nonexistent_file.txt does not exist FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.FunctionTask. nonexistent_file.txt does not exist Modified: hive/branches/spark/ql/src/test/results/clientnegative/udf_test_error.q.out URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientnegative/udf_test_error.q.out?rev=1613740&r1=1613739&r2=1613740&view=diff ============================================================================== --- hive/branches/spark/ql/src/test/results/clientnegative/udf_test_error.q.out (original) +++ hive/branches/spark/ql/src/test/results/clientnegative/udf_test_error.q.out Sat Jul 26 23:45:46 2014 @@ -1,9 +1,9 @@ PREHOOK: query: CREATE TEMPORARY FUNCTION test_error AS 'org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse' PREHOOK: type: CREATEFUNCTION -PREHOOK: Output: database:default +PREHOOK: Output: test_error POSTHOOK: query: CREATE TEMPORARY FUNCTION test_error AS 'org.apache.hadoop.hive.ql.udf.UDFTestErrorOnFalse' POSTHOOK: type: CREATEFUNCTION -POSTHOOK: Output: database:default +POSTHOOK: Output: test_error PREHOOK: query: SELECT test_error(key < 125 OR key > 130) FROM src PREHOOK: type: QUERY PREHOOK: Input: default@src
