You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by na...@apache.org on 2011/03/23 00:05:53 UTC
svn commit: r1084403 [1/26] - in /hive/trunk:
contrib/src/test/results/clientpositive/
ql/src/java/org/apache/hadoop/hive/ql/parse/
ql/src/test/org/apache/hadoop/hive/ql/
ql/src/test/org/apache/hadoop/hive/ql/hooks/
ql/src/test/queries/clientnegative/ ...
Author: namit
Date: Tue Mar 22 23:05:48 2011
New Revision: 1084403
URL: http://svn.apache.org/viewvc?rev=1084403&view=rev
Log:
HIVE-2003 LOAD compilation does not set the outputs during semantic analysis resulting
in no authorization checks being done for it (Krishna Kumar via namit)
Added:
hive/trunk/ql/src/test/queries/clientnegative/load_exist_part_authfail.q
hive/trunk/ql/src/test/queries/clientnegative/load_nonpart_authfail.q
hive/trunk/ql/src/test/queries/clientnegative/load_part_authfail.q
hive/trunk/ql/src/test/queries/clientnegative/load_part_nospec.q
hive/trunk/ql/src/test/queries/clientpositive/load_exist_part_authsuccess.q
hive/trunk/ql/src/test/queries/clientpositive/load_nonpart_authsuccess.q
hive/trunk/ql/src/test/queries/clientpositive/load_part_authsuccess.q
hive/trunk/ql/src/test/results/clientnegative/load_exist_part_authfail.q.out
hive/trunk/ql/src/test/results/clientnegative/load_nonpart_authfail.q.out
hive/trunk/ql/src/test/results/clientnegative/load_part_authfail.q.out
hive/trunk/ql/src/test/results/clientnegative/load_part_nospec.q.out
hive/trunk/ql/src/test/results/clientpositive/load_exist_part_authsuccess.q.out
hive/trunk/ql/src/test/results/clientpositive/load_nonpart_authsuccess.q.out
hive/trunk/ql/src/test/results/clientpositive/load_part_authsuccess.q.out
Modified:
hive/trunk/contrib/src/test/results/clientpositive/serde_regex.q.out
hive/trunk/contrib/src/test/results/clientpositive/serde_s3.q.out
hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java
hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java
hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/EnforceReadOnlyTables.java
hive/trunk/ql/src/test/results/clientnegative/exim_00_unsupported_schema.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_01_nonpart_over_loaded.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_02_all_part_over_overlap.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_03_nonpart_noncompat_colschema.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_04_nonpart_noncompat_colnumber.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_05_nonpart_noncompat_coltype.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_06_nonpart_noncompat_storage.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_07_nonpart_noncompat_ifof.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_08_nonpart_noncompat_serde.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_09_nonpart_noncompat_serdeparam.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_10_nonpart_noncompat_bucketing.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_11_nonpart_noncompat_sorting.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_13_nonnative_import.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_14_nonpart_part.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_15_part_nonpart.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_16_part_noncompat_schema.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_17_part_spec_underspec.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_18_part_spec_missing.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_19_external_over_existing.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_20_managed_location_over_existing.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_21_part_managed_external.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_23_import_exist_authfail.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_24_import_part_authfail.q.out
hive/trunk/ql/src/test/results/clientnegative/exim_25_import_nonexist_authfail.q.out
hive/trunk/ql/src/test/results/clientnegative/fetchtask_ioexception.q.out
hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat.q.out
hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat_rc_seq.q.out
hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat_txt_seq.q.out
hive/trunk/ql/src/test/results/clientnegative/protectmode_part2.q.out
hive/trunk/ql/src/test/results/clientpositive/alter3.q.out
hive/trunk/ql/src/test/results/clientpositive/alter_merge.q.out
hive/trunk/ql/src/test/results/clientpositive/alter_merge_stats.q.out
hive/trunk/ql/src/test/results/clientpositive/auto_join_filters.q.out
hive/trunk/ql/src/test/results/clientpositive/auto_join_nulls.q.out
hive/trunk/ql/src/test/results/clientpositive/binarysortable_1.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketizedhiveinputformat.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin1.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin2.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin3.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin4.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin5.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin_negative.q.out
hive/trunk/ql/src/test/results/clientpositive/bucketmapjoin_negative2.q.out
hive/trunk/ql/src/test/results/clientpositive/count.q.out
hive/trunk/ql/src/test/results/clientpositive/create_nested_type.q.out
hive/trunk/ql/src/test/results/clientpositive/create_struct_table.q.out
hive/trunk/ql/src/test/results/clientpositive/create_union_table.q.out
hive/trunk/ql/src/test/results/clientpositive/database.q.out
hive/trunk/ql/src/test/results/clientpositive/disable_file_format_check.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_01_nonpart.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_02_part.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_03_nonpart_over_compat.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_04_all_part.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_05_some_part.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_06_one_part.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_07_all_part_over_nonoverlap.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_08_nonpart_rename.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_09_part_spec_nonoverlap.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_10_external_managed.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_11_managed_external.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_12_external_location.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_13_managed_location.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_14_managed_location_over_existing.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_15_external_part.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_16_part_external.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_17_part_managed.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_18_part_external.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_19_part_external_location.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_20_part_managed_location.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_21_export_authsuccess.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_22_import_exist_authsuccess.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_23_import_part_authsuccess.q.out
hive/trunk/ql/src/test/results/clientpositive/exim_24_import_nonexist_authsuccess.q.out
hive/trunk/ql/src/test/results/clientpositive/groupby10.q.out
hive/trunk/ql/src/test/results/clientpositive/input16.q.out
hive/trunk/ql/src/test/results/clientpositive/input16_cc.q.out
hive/trunk/ql/src/test/results/clientpositive/input19.q.out
hive/trunk/ql/src/test/results/clientpositive/input21.q.out
hive/trunk/ql/src/test/results/clientpositive/input22.q.out
hive/trunk/ql/src/test/results/clientpositive/input37.q.out
hive/trunk/ql/src/test/results/clientpositive/input3_limit.q.out
hive/trunk/ql/src/test/results/clientpositive/input4.q.out
hive/trunk/ql/src/test/results/clientpositive/input40.q.out
hive/trunk/ql/src/test/results/clientpositive/input43.q.out
hive/trunk/ql/src/test/results/clientpositive/input4_cb_delim.q.out
hive/trunk/ql/src/test/results/clientpositive/inputddl5.q.out
hive/trunk/ql/src/test/results/clientpositive/inputddl6.q.out
hive/trunk/ql/src/test/results/clientpositive/inputddl7.q.out
hive/trunk/ql/src/test/results/clientpositive/join_1to1.q.out
hive/trunk/ql/src/test/results/clientpositive/join_casesensitive.q.out
hive/trunk/ql/src/test/results/clientpositive/join_filters.q.out
hive/trunk/ql/src/test/results/clientpositive/join_hive_626.q.out
hive/trunk/ql/src/test/results/clientpositive/join_nulls.q.out
hive/trunk/ql/src/test/results/clientpositive/join_reorder.q.out
hive/trunk/ql/src/test/results/clientpositive/join_reorder2.q.out
hive/trunk/ql/src/test/results/clientpositive/join_reorder3.q.out
hive/trunk/ql/src/test/results/clientpositive/load_fs.q.out
hive/trunk/ql/src/test/results/clientpositive/load_overwrite.q.out
hive/trunk/ql/src/test/results/clientpositive/loadpart1.q.out
hive/trunk/ql/src/test/results/clientpositive/merge_dynamic_partition.q.out
hive/trunk/ql/src/test/results/clientpositive/merge_dynamic_partition2.q.out
hive/trunk/ql/src/test/results/clientpositive/merge_dynamic_partition3.q.out
hive/trunk/ql/src/test/results/clientpositive/null_column.q.out
hive/trunk/ql/src/test/results/clientpositive/nullgroup3.q.out
hive/trunk/ql/src/test/results/clientpositive/nullgroup5.q.out
hive/trunk/ql/src/test/results/clientpositive/nullscript.q.out
hive/trunk/ql/src/test/results/clientpositive/progress_1.q.out
hive/trunk/ql/src/test/results/clientpositive/skewjoin.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_1.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_2.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_3.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_4.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_5.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_7.q.out
hive/trunk/ql/src/test/results/clientpositive/smb_mapjoin_8.q.out
hive/trunk/ql/src/test/results/clientpositive/stats11.q.out
hive/trunk/ql/src/test/results/clientpositive/stats3.q.out
hive/trunk/ql/src/test/results/clientpositive/udaf_context_ngrams.q.out
hive/trunk/ql/src/test/results/clientpositive/udaf_corr.q.out
hive/trunk/ql/src/test/results/clientpositive/udaf_covar_pop.q.out
hive/trunk/ql/src/test/results/clientpositive/udaf_covar_samp.q.out
hive/trunk/ql/src/test/results/clientpositive/udaf_ngrams.q.out
hive/trunk/ql/src/test/results/clientpositive/udf_field.q.out
hive/trunk/ql/src/test/results/clientpositive/udf_length.q.out
hive/trunk/ql/src/test/results/clientpositive/udf_reverse.q.out
hive/trunk/ql/src/test/results/clientpositive/uniquejoin.q.out
hive/trunk/ql/src/test/results/compiler/plan/cast1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/groupby1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/groupby2.q.xml
hive/trunk/ql/src/test/results/compiler/plan/groupby3.q.xml
hive/trunk/ql/src/test/results/compiler/plan/groupby4.q.xml
hive/trunk/ql/src/test/results/compiler/plan/groupby5.q.xml
hive/trunk/ql/src/test/results/compiler/plan/groupby6.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input2.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input20.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input3.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input4.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input5.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input6.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input7.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input8.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input9.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input_part1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input_testsequencefile.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input_testxpath.q.xml
hive/trunk/ql/src/test/results/compiler/plan/input_testxpath2.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join2.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join3.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join4.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join5.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join6.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join7.q.xml
hive/trunk/ql/src/test/results/compiler/plan/join8.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample2.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample3.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample4.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample5.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample6.q.xml
hive/trunk/ql/src/test/results/compiler/plan/sample7.q.xml
hive/trunk/ql/src/test/results/compiler/plan/subq.q.xml
hive/trunk/ql/src/test/results/compiler/plan/udf1.q.xml
hive/trunk/ql/src/test/results/compiler/plan/udf4.q.xml
hive/trunk/ql/src/test/results/compiler/plan/udf6.q.xml
hive/trunk/ql/src/test/results/compiler/plan/udf_case.q.xml
hive/trunk/ql/src/test/results/compiler/plan/udf_when.q.xml
hive/trunk/ql/src/test/results/compiler/plan/union.q.xml
hive/trunk/ql/src/test/templates/TestParse.vm
hive/trunk/ql/src/test/templates/TestParseNegative.vm
Modified: hive/trunk/contrib/src/test/results/clientpositive/serde_regex.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/contrib/src/test/results/clientpositive/serde_regex.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/contrib/src/test/results/clientpositive/serde_regex.q.out (original)
+++ hive/trunk/contrib/src/test/results/clientpositive/serde_regex.q.out Tue Mar 22 23:05:48 2011
@@ -98,22 +98,24 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@serde_regex
PREHOOK: query: LOAD DATA LOCAL INPATH "../data/files/apache.access.log" INTO TABLE serde_regex
PREHOOK: type: LOAD
+PREHOOK: Output: default@serde_regex
POSTHOOK: query: LOAD DATA LOCAL INPATH "../data/files/apache.access.log" INTO TABLE serde_regex
POSTHOOK: type: LOAD
POSTHOOK: Output: default@serde_regex
PREHOOK: query: LOAD DATA LOCAL INPATH "../data/files/apache.access.2.log" INTO TABLE serde_regex
PREHOOK: type: LOAD
+PREHOOK: Output: default@serde_regex
POSTHOOK: query: LOAD DATA LOCAL INPATH "../data/files/apache.access.2.log" INTO TABLE serde_regex
POSTHOOK: type: LOAD
POSTHOOK: Output: default@serde_regex
PREHOOK: query: SELECT * FROM serde_regex ORDER BY time
PREHOOK: type: QUERY
PREHOOK: Input: default@serde_regex
-PREHOOK: Output: file:/tmp/sdong/hive_2011-02-16_20-09-53_522_5630388816344060781/-mr-10000
+PREHOOK: Output: file:/var/folders/67/67R3POPtF90VG63KSmCbcU++F0U/-Tmp-/krishnak/hive_2011-03-20_20-47-18_233_4390647269234114824/-mr-10000
POSTHOOK: query: SELECT * FROM serde_regex ORDER BY time
POSTHOOK: type: QUERY
POSTHOOK: Input: default@serde_regex
-POSTHOOK: Output: file:/tmp/sdong/hive_2011-02-16_20-09-53_522_5630388816344060781/-mr-10000
+POSTHOOK: Output: file:/var/folders/67/67R3POPtF90VG63KSmCbcU++F0U/-Tmp-/krishnak/hive_2011-03-20_20-47-18_233_4390647269234114824/-mr-10000
127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 NULL NULL
127.0.0.1 - - [26/May/2009:00:00:00 +0000] "GET /someurl/?track=Blabla(Main) HTTP/1.1" 200 5864 - "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.65 Safari/525.19"
PREHOOK: query: DROP TABLE serde_regex
Modified: hive/trunk/contrib/src/test/results/clientpositive/serde_s3.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/contrib/src/test/results/clientpositive/serde_s3.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/contrib/src/test/results/clientpositive/serde_s3.q.out (original)
+++ hive/trunk/contrib/src/test/results/clientpositive/serde_s3.q.out Tue Mar 22 23:05:48 2011
@@ -34,17 +34,18 @@ referer string from deserializer
useragent string from deserializer
PREHOOK: query: LOAD DATA LOCAL INPATH '../contrib/data/files/s3.log' INTO TABLE s3log
PREHOOK: type: LOAD
+PREHOOK: Output: default@s3log
POSTHOOK: query: LOAD DATA LOCAL INPATH '../contrib/data/files/s3.log' INTO TABLE s3log
POSTHOOK: type: LOAD
POSTHOOK: Output: default@s3log
PREHOOK: query: SELECT a.* FROM s3log a
PREHOOK: type: QUERY
PREHOOK: Input: default@s3log
-PREHOOK: Output: file:/tmp/thiruvel/hive_2010-10-12_03-29-52_645_7274865857229017916/-mr-10000
+PREHOOK: Output: file:/var/folders/67/67R3POPtF90VG63KSmCbcU++F0U/-Tmp-/krishnak/hive_2011-03-20_20-47-30_132_3829197234162643444/-mr-10000
POSTHOOK: query: SELECT a.* FROM s3log a
POSTHOOK: type: QUERY
POSTHOOK: Input: default@s3log
-POSTHOOK: Output: file:/tmp/thiruvel/hive_2010-10-12_03-29-52_645_7274865857229017916/-mr-10000
+POSTHOOK: Output: file:/var/folders/67/67R3POPtF90VG63KSmCbcU++F0U/-Tmp-/krishnak/hive_2011-03-20_20-47-30_132_3829197234162643444/-mr-10000
04ff331638adc13885d6c42059584deabbdeabcd55bf0bee491172a79a87b196 img.zemanta.com 09/Apr/2009:22:00:01 +0000 212.143.99.188 65a011a29cdf8ec533ec3d1ccaae921c D987234E52141DE7 REST.GET.OBJECT pixy.gif GET /pixy.gif?x-id=4560525f-2864-495c-842c-159ede7143f8 HTTP/1.1 200 - 828 828 3 2 http://www.mediafuturist.com/2009/02/marc-andreessen-on-the-charlie-rose-show-talking-about-mobile-technology-video.html Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19
04ff331638adc13885d6c42059584deabbdeabcd55bf0bee491172a79a87b196 img.zemanta.com 09/Apr/2009:22:00:01 +0000 74.244.182.35 65a011a29cdf8ec533ec3d1ccaae921c 626EECA20AB12A5C REST.GET.OBJECT pixy.gif GET /pixy.gif HTTP/1.1 200 - 828 828 20 20 http://trueslant.com/ Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4 Public Beta Safari/528.16
04ff331638adc13885d6c42059584deabbdeabcd55bf0bee491172a79a87b196 img.zemanta.com 09/Apr/2009:22:00:02 +0000 62.149.175.120 65a011a29cdf8ec533ec3d1ccaae921c 3E93D70E69292C98 REST.GET.OBJECT pixy.gif GET /pixy.gif?x-id=9fec752e-2318-4da3-864e-ac5b9e47c4ae HTTP/1.0 200 - 828 828 4 3 - -
Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java Tue Mar 22 23:05:48 2011
@@ -36,6 +36,7 @@ import org.apache.hadoop.hive.metastore.
import org.apache.hadoop.hive.ql.exec.Task;
import org.apache.hadoop.hive.ql.exec.TaskFactory;
import org.apache.hadoop.hive.ql.exec.Utilities;
+import org.apache.hadoop.hive.ql.hooks.WriteEntity;
import org.apache.hadoop.hive.ql.metadata.Hive;
import org.apache.hadoop.hive.ql.metadata.HiveException;
import org.apache.hadoop.hive.ql.metadata.Partition;
@@ -210,7 +211,7 @@ public class LoadSemanticAnalyzer extend
: ts.tableHandle.getDataLocation();
List<FieldSchema> parts = ts.tableHandle.getPartitionKeys();
- if (isOverWrite && (parts != null && parts.size() > 0)
+ if ((parts != null && parts.size() > 0)
&& (ts.partSpec == null || ts.partSpec.size() == 0)) {
throw new SemanticException(ErrorMsg.NEED_PARTITION_ERROR.getMsg());
}
@@ -234,11 +235,12 @@ public class LoadSemanticAnalyzer extend
}
// create final load/move work
-
+
String loadTmpPath = ctx.getExternalTmpFileURI(toURI);
Map<String, String> partSpec = ts.getPartSpec();
if (partSpec == null) {
partSpec = new LinkedHashMap<String, String>();
+ outputs.add(new WriteEntity(ts.tableHandle));
} else {
try{
Partition part = Hive.get().getPartition(ts.tableHandle, partSpec, false);
@@ -247,6 +249,9 @@ public class LoadSemanticAnalyzer extend
throw new SemanticException(ErrorMsg.OFFLINE_TABLE_OR_PARTITION.
getMsg(ts.tableName + ":" + part.getName()));
}
+ outputs.add(new WriteEntity(part));
+ } else {
+ outputs.add(new WriteEntity(ts.tableHandle));
}
} catch(HiveException e) {
throw new SemanticException(e);
Modified: hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java (original)
+++ hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java Tue Mar 22 23:05:48 2011
@@ -44,6 +44,8 @@ import java.util.regex.Pattern;
import junit.framework.Test;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
@@ -85,6 +87,8 @@ import org.apache.zookeeper.ZooKeeper;
*/
public class QTestUtil {
+ private static final Log LOG = LogFactory.getLog("QTestUtil");
+
private String testWarehouse;
private final String tmpdir= System.getProperty("test.tmp.dir") ;
private final Path tmppath = new Path(tmpdir);
@@ -248,7 +252,7 @@ public class QTestUtil {
public void shutdown() throws Exception {
cleanUp();
-
+ setup.tearDown();
if (dfs != null) {
dfs.shutdown();
dfs = null;
@@ -333,7 +337,7 @@ public class QTestUtil {
if (!DEFAULT_DATABASE_NAME.equals(dbName) || !srcTables.contains(tblName)) {
Table tblObj = db.getTable(tblName);
// dropping index table can not be dropped directly. Dropping the base
- // table will automatically drop all its index table
+ // table will automatically drop all its index table
if(tblObj.isIndexTable()) {
continue;
}
@@ -343,7 +347,7 @@ public class QTestUtil {
List<Index> indexes = db.getIndexes(dbName, tblName, (short)-1);
if (indexes != null && indexes.size() > 0) {
for (Index index : indexes) {
- db.dropIndex(dbName, tblName, index.getIndexName(), true);
+ db.dropIndex(dbName, tblName, index.getIndexName(), true);
}
}
}
@@ -384,7 +388,6 @@ public class QTestUtil {
FunctionRegistry.unregisterTemporaryUDF("test_udaf");
FunctionRegistry.unregisterTemporaryUDF("test_error");
- setup.tearDown();
}
private void runLoadCmd(String loadCmd) throws Exception {
@@ -412,6 +415,7 @@ public class QTestUtil {
public void createSources() throws Exception {
startSessionState();
+ conf.setBoolean("hive.test.init.phase", true);
// Create a bunch of tables with columns key and value
LinkedList<String> cols = new LinkedList<String>();
@@ -506,7 +510,7 @@ public class QTestUtil {
fpath = new Path(testFiles, "json.txt");
runLoadCmd("LOAD DATA LOCAL INPATH '" + fpath.toString()
+ "' INTO TABLE src_json");
-
+ conf.setBoolean("hive.test.init.phase", false);
}
public void init() throws Exception {
@@ -989,7 +993,8 @@ public class QTestUtil {
while ((ast.getToken() == null) && (ast.getChildCount() > 0)) {
ast = (ASTNode) ast.getChild(0);
}
-
+ sem.getOutputs().clear();
+ sem.getInputs().clear();
sem.analyze(ast, ctx);
ctx.clear();
return sem.getRootTasks();
Modified: hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/EnforceReadOnlyTables.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/EnforceReadOnlyTables.java?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/EnforceReadOnlyTables.java (original)
+++ hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/EnforceReadOnlyTables.java Tue Mar 22 23:05:48 2011
@@ -45,7 +45,9 @@ public class EnforceReadOnlyTables imple
public void run(SessionState sess, Set<ReadEntity> inputs,
Set<WriteEntity> outputs, UserGroupInformation ugi)
throws Exception {
-
+ if (sess.getConf().getBoolean("hive.test.init.phase", false) == true) {
+ return;
+ }
for (WriteEntity w: outputs) {
if ((w.getTyp() == WriteEntity.Type.TABLE) ||
(w.getTyp() == WriteEntity.Type.PARTITION)) {
Added: hive/trunk/ql/src/test/queries/clientnegative/load_exist_part_authfail.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientnegative/load_exist_part_authfail.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientnegative/load_exist_part_authfail.q (added)
+++ hive/trunk/ql/src/test/queries/clientnegative/load_exist_part_authfail.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,4 @@
+create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile;
+alter table hive_test_src add partition (pcol1 = 'test_part');
+set hive.security.authorization.enabled=true;
+load data local inpath '../data/files/test.dat' overwrite into table hive_test_src partition (pcol1 = 'test_part');
Added: hive/trunk/ql/src/test/queries/clientnegative/load_nonpart_authfail.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientnegative/load_nonpart_authfail.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientnegative/load_nonpart_authfail.q (added)
+++ hive/trunk/ql/src/test/queries/clientnegative/load_nonpart_authfail.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,3 @@
+create table hive_test_src ( col1 string ) stored as textfile;
+set hive.security.authorization.enabled=true;
+load data local inpath '../data/files/test.dat' overwrite into table hive_test_src ;
Added: hive/trunk/ql/src/test/queries/clientnegative/load_part_authfail.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientnegative/load_part_authfail.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientnegative/load_part_authfail.q (added)
+++ hive/trunk/ql/src/test/queries/clientnegative/load_part_authfail.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,3 @@
+create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile;
+set hive.security.authorization.enabled=true;
+load data local inpath '../data/files/test.dat' overwrite into table hive_test_src partition (pcol1 = 'test_part');
Added: hive/trunk/ql/src/test/queries/clientnegative/load_part_nospec.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientnegative/load_part_nospec.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientnegative/load_part_nospec.q (added)
+++ hive/trunk/ql/src/test/queries/clientnegative/load_part_nospec.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,2 @@
+create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile;
+load data local inpath '../data/files/test.dat' into table hive_test_src;
Added: hive/trunk/ql/src/test/queries/clientpositive/load_exist_part_authsuccess.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/load_exist_part_authsuccess.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/load_exist_part_authsuccess.q (added)
+++ hive/trunk/ql/src/test/queries/clientpositive/load_exist_part_authsuccess.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,5 @@
+create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile;
+alter table hive_test_src add partition (pcol1 = 'test_part');
+set hive.security.authorization.enabled=true;
+grant Update on table hive_test_src to user hive_test_user;
+load data local inpath '../data/files/test.dat' overwrite into table hive_test_src partition (pcol1 = 'test_part');
Added: hive/trunk/ql/src/test/queries/clientpositive/load_nonpart_authsuccess.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/load_nonpart_authsuccess.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/load_nonpart_authsuccess.q (added)
+++ hive/trunk/ql/src/test/queries/clientpositive/load_nonpart_authsuccess.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,4 @@
+create table hive_test_src ( col1 string ) stored as textfile;
+set hive.security.authorization.enabled=true;
+grant Update on table hive_test_src to user hive_test_user;
+load data local inpath '../data/files/test.dat' overwrite into table hive_test_src ;
Added: hive/trunk/ql/src/test/queries/clientpositive/load_part_authsuccess.q
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientpositive/load_part_authsuccess.q?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/queries/clientpositive/load_part_authsuccess.q (added)
+++ hive/trunk/ql/src/test/queries/clientpositive/load_part_authsuccess.q Tue Mar 22 23:05:48 2011
@@ -0,0 +1,4 @@
+create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile;
+set hive.security.authorization.enabled=true;
+grant Update on table hive_test_src to user hive_test_user;
+load data local inpath '../data/files/test.dat' overwrite into table hive_test_src partition (pcol1 = 'test_part');
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_00_unsupported_schema.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_00_unsupported_schema.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_00_unsupported_schema.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_00_unsupported_schema.q.out Tue Mar 22 23:05:48 2011
@@ -9,6 +9,7 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_01_nonpart_over_loaded.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_01_nonpart_over_loaded.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_01_nonpart_over_loaded.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_01_nonpart_over_loaded.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
@@ -47,6 +48,7 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: importer@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: importer@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: importer@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_02_all_part_over_overlap.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_02_all_part_over_overlap.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_02_all_part_over_overlap.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_02_all_part_over_overlap.q.out Tue Mar 22 23:05:48 2011
@@ -14,30 +14,38 @@ POSTHOOK: Output: default@exim_employee
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=ka
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
PREHOOK: type: EXPORT
@@ -45,14 +53,14 @@ PREHOOK: Input: default@exim_employee@em
PREHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
POSTHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
PREHOOK: query: drop table exim_employee
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_employee
@@ -85,8 +93,10 @@ POSTHOOK: Output: importer@exim_employee
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: importer@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: importer@exim_employee
POSTHOOK: Output: importer@exim_employee@emp_country=us/emp_state=ka
FAILED: Error in semantic analysis: Partition already exists emp_country=us,emp_state=ka
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_03_nonpart_noncompat_colschema.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_03_nonpart_noncompat_colschema.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_03_nonpart_noncompat_colschema.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_03_nonpart_noncompat_colschema.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_04_nonpart_noncompat_colnumber.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_04_nonpart_noncompat_colnumber.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_04_nonpart_noncompat_colnumber.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_04_nonpart_noncompat_colnumber.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_05_nonpart_noncompat_coltype.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_05_nonpart_noncompat_coltype.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_05_nonpart_noncompat_coltype.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_05_nonpart_noncompat_coltype.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_06_nonpart_noncompat_storage.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_06_nonpart_noncompat_storage.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_06_nonpart_noncompat_storage.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_06_nonpart_noncompat_storage.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_07_nonpart_noncompat_ifof.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_07_nonpart_noncompat_ifof.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_07_nonpart_noncompat_ifof.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_07_nonpart_noncompat_ifof.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_08_nonpart_noncompat_serde.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_08_nonpart_noncompat_serde.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_08_nonpart_noncompat_serde.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_08_nonpart_noncompat_serde.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_09_nonpart_noncompat_serdeparam.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_09_nonpart_noncompat_serdeparam.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_09_nonpart_noncompat_serdeparam.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_09_nonpart_noncompat_serdeparam.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_10_nonpart_noncompat_bucketing.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_10_nonpart_noncompat_bucketing.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_10_nonpart_noncompat_bucketing.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_10_nonpart_noncompat_bucketing.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_11_nonpart_noncompat_sorting.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_11_nonpart_noncompat_sorting.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_11_nonpart_noncompat_sorting.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_11_nonpart_noncompat_sorting.q.out Tue Mar 22 23:05:48 2011
@@ -11,17 +11,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_13_nonnative_import.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_13_nonnative_import.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_13_nonnative_import.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_13_nonnative_import.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_14_nonpart_part.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_14_nonpart_part.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_14_nonpart_part.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_14_nonpart_part.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_15_part_nonpart.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_15_part_nonpart.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_15_part_nonpart.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_15_part_nonpart.q.out Tue Mar 22 23:05:48 2011
@@ -11,17 +11,19 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department partition (dep_org="hr")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department partition (dep_org="hr")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_department
POSTHOOK: Output: default@exim_department@dep_org=hr
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department@dep_org=hr
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department@dep_org=hr
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_16_part_noncompat_schema.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_16_part_noncompat_schema.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_16_part_noncompat_schema.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_16_part_noncompat_schema.q.out Tue Mar 22 23:05:48 2011
@@ -11,17 +11,19 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department partition (dep_org="hr")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department partition (dep_org="hr")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_department
POSTHOOK: Output: default@exim_department@dep_org=hr
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department@dep_org=hr
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department@dep_org=hr
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_17_part_spec_underspec.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_17_part_spec_underspec.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_17_part_spec_underspec.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_17_part_spec_underspec.q.out Tue Mar 22 23:05:48 2011
@@ -14,30 +14,38 @@ POSTHOOK: Output: default@exim_employee
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=ka
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
PREHOOK: type: EXPORT
@@ -45,14 +53,14 @@ PREHOOK: Input: default@exim_employee@em
PREHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
POSTHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
PREHOOK: query: drop table exim_employee
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_employee
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_18_part_spec_missing.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_18_part_spec_missing.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_18_part_spec_missing.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_18_part_spec_missing.q.out Tue Mar 22 23:05:48 2011
@@ -14,30 +14,38 @@ POSTHOOK: Output: default@exim_employee
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=ka
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
PREHOOK: type: EXPORT
@@ -45,14 +53,14 @@ PREHOOK: Input: default@exim_employee@em
PREHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
POSTHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
PREHOOK: query: drop table exim_employee
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_employee
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_19_external_over_existing.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_19_external_over_existing.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_19_external_over_existing.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_19_external_over_existing.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_20_managed_location_over_existing.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_20_managed_location_over_existing.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_20_managed_location_over_existing.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_20_managed_location_over_existing.q.out Tue Mar 22 23:05:48 2011
@@ -9,17 +9,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_21_part_managed_external.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_21_part_managed_external.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_21_part_managed_external.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_21_part_managed_external.q.out Tue Mar 22 23:05:48 2011
@@ -14,30 +14,38 @@ POSTHOOK: Output: default@exim_employee
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=ka
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=tn
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="us", emp_state="ka")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
PREHOOK: type: EXPORT
@@ -45,14 +53,14 @@ PREHOOK: Input: default@exim_employee@em
PREHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
PREHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
POSTHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=ka
POSTHOOK: Input: default@exim_employee@emp_country=us/emp_state=tn
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
PREHOOK: query: drop table exim_employee
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_employee
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_23_import_exist_authfail.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_23_import_exist_authfail.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_23_import_exist_authfail.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_23_import_exist_authfail.q.out Tue Mar 22 23:05:48 2011
@@ -5,17 +5,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_24_import_part_authfail.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_24_import_part_authfail.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_24_import_part_authfail.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_24_import_part_authfail.q.out Tue Mar 22 23:05:48 2011
@@ -14,18 +14,20 @@ POSTHOOK: Output: default@exim_employee
PREHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_employee
POSTHOOK: query: load data local inpath "../data/files/test.dat"
into table exim_employee partition (emp_country="in", emp_state="tn")
POSTHOOK: type: LOAD
+POSTHOOK: Output: default@exim_employee
POSTHOOK: Output: default@exim_employee@emp_country=in/emp_state=tn
PREHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
POSTHOOK: query: export table exim_employee to 'ql/test/data/exports/exim_employee'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_employee@emp_country=in/emp_state=tn
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_employee
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_employee
PREHOOK: query: drop table exim_employee
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_employee
Modified: hive/trunk/ql/src/test/results/clientnegative/exim_25_import_nonexist_authfail.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/exim_25_import_nonexist_authfail.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/exim_25_import_nonexist_authfail.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/exim_25_import_nonexist_authfail.q.out Tue Mar 22 23:05:48 2011
@@ -5,17 +5,18 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@exim_department
PREHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
PREHOOK: type: LOAD
+PREHOOK: Output: default@exim_department
POSTHOOK: query: load data local inpath "../data/files/test.dat" into table exim_department
POSTHOOK: type: LOAD
POSTHOOK: Output: default@exim_department
PREHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
PREHOOK: type: EXPORT
PREHOOK: Input: default@exim_department
-PREHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+PREHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
POSTHOOK: query: export table exim_department to 'ql/test/data/exports/exim_department'
POSTHOOK: type: EXPORT
POSTHOOK: Input: default@exim_department
-POSTHOOK: Output: pfile:/Users/krishnak/Projects/hdp/sources/hive-git-apache/build/ql/test/data/exports/exim_department
+POSTHOOK: Output: pfile:/home/krishnak/hive-howl/hive-git-apache/build/ql/test/data/exports/exim_department
PREHOOK: query: drop table exim_department
PREHOOK: type: DROPTABLE
PREHOOK: Input: default@exim_department
Modified: hive/trunk/ql/src/test/results/clientnegative/fetchtask_ioexception.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/fetchtask_ioexception.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/fetchtask_ioexception.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/fetchtask_ioexception.q.out Tue Mar 22 23:05:48 2011
@@ -9,15 +9,16 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@fetchtask_ioexception
PREHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1_broken.seq' OVERWRITE INTO TABLE fetchtask_ioexception
PREHOOK: type: LOAD
+PREHOOK: Output: default@fetchtask_ioexception
POSTHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1_broken.seq' OVERWRITE INTO TABLE fetchtask_ioexception
POSTHOOK: type: LOAD
POSTHOOK: Output: default@fetchtask_ioexception
PREHOOK: query: SELECT * FROM fetchtask_ioexception
PREHOOK: type: QUERY
PREHOOK: Input: default@fetchtask_ioexception
-PREHOOK: Output: file:/data/users/njain/hive5/hive5/.ptest_3/build/ql/tmp/1739034966/10000
+PREHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_06-14-48_854_4131739323077251446/-mr-10000
POSTHOOK: query: SELECT * FROM fetchtask_ioexception
POSTHOOK: type: QUERY
POSTHOOK: Input: default@fetchtask_ioexception
-POSTHOOK: Output: file:/data/users/njain/hive5/hive5/.ptest_3/build/ql/tmp/1739034966/10000
+POSTHOOK: Output: file:/tmp/krishnak/hive_2011-03-21_06-14-48_854_4131739323077251446/-mr-10000
Failed with exception java.io.IOException:java.io.EOFException
Added: hive/trunk/ql/src/test/results/clientnegative/load_exist_part_authfail.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/load_exist_part_authfail.q.out?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/load_exist_part_authfail.q.out (added)
+++ hive/trunk/ql/src/test/results/clientnegative/load_exist_part_authfail.q.out Tue Mar 22 23:05:48 2011
@@ -0,0 +1,13 @@
+PREHOOK: query: create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile
+PREHOOK: type: CREATETABLE
+POSTHOOK: query: create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: default@hive_test_src
+PREHOOK: query: alter table hive_test_src add partition (pcol1 = 'test_part')
+PREHOOK: type: ALTERTABLE_ADDPARTS
+PREHOOK: Input: default@hive_test_src
+POSTHOOK: query: alter table hive_test_src add partition (pcol1 = 'test_part')
+POSTHOOK: type: ALTERTABLE_ADDPARTS
+POSTHOOK: Input: default@hive_test_src
+POSTHOOK: Output: default@hive_test_src@pcol1=test_part
+Authorization failed:No privilege 'Update' found for outputs { database:default, table:hive_test_src}. Use show grant to get more details.
Added: hive/trunk/ql/src/test/results/clientnegative/load_nonpart_authfail.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/load_nonpart_authfail.q.out?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/load_nonpart_authfail.q.out (added)
+++ hive/trunk/ql/src/test/results/clientnegative/load_nonpart_authfail.q.out Tue Mar 22 23:05:48 2011
@@ -0,0 +1,6 @@
+PREHOOK: query: create table hive_test_src ( col1 string ) stored as textfile
+PREHOOK: type: CREATETABLE
+POSTHOOK: query: create table hive_test_src ( col1 string ) stored as textfile
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: default@hive_test_src
+Authorization failed:No privilege 'Update' found for outputs { database:default, table:hive_test_src}. Use show grant to get more details.
Added: hive/trunk/ql/src/test/results/clientnegative/load_part_authfail.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/load_part_authfail.q.out?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/load_part_authfail.q.out (added)
+++ hive/trunk/ql/src/test/results/clientnegative/load_part_authfail.q.out Tue Mar 22 23:05:48 2011
@@ -0,0 +1,6 @@
+PREHOOK: query: create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile
+PREHOOK: type: CREATETABLE
+POSTHOOK: query: create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: default@hive_test_src
+Authorization failed:No privilege 'Update' found for outputs { database:default, table:hive_test_src}. Use show grant to get more details.
Added: hive/trunk/ql/src/test/results/clientnegative/load_part_nospec.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/load_part_nospec.q.out?rev=1084403&view=auto
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/load_part_nospec.q.out (added)
+++ hive/trunk/ql/src/test/results/clientnegative/load_part_nospec.q.out Tue Mar 22 23:05:48 2011
@@ -0,0 +1,6 @@
+PREHOOK: query: create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile
+PREHOOK: type: CREATETABLE
+POSTHOOK: query: create table hive_test_src ( col1 string ) partitioned by (pcol1 string) stored as textfile
+POSTHOOK: type: CREATETABLE
+POSTHOOK: Output: default@hive_test_src
+FAILED: Error in semantic analysis: need to specify partition columns because the destination table is partitioned.
Modified: hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat.q.out
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat.q.out?rev=1084403&r1=1084402&r2=1084403&view=diff
==============================================================================
--- hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat.q.out (original)
+++ hive/trunk/ql/src/test/results/clientnegative/load_wrong_fileformat.q.out Tue Mar 22 23:05:48 2011
@@ -13,5 +13,6 @@ POSTHOOK: type: CREATETABLE
POSTHOOK: Output: default@load_wrong_fileformat_T1
PREHOOK: query: LOAD DATA LOCAL INPATH '../data/files/kv1.txt' INTO TABLE load_wrong_fileformat_T1
PREHOOK: type: LOAD
+PREHOOK: Output: default@load_wrong_fileformat_t1
Failed with exception Wrong file format. Please check the file's format.
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask