Author: jdere
Date: Fri Mar 14 23:36:52 2014
New Revision: 1577762

URL: http://svn.apache.org/r1577762
Log:
HIVE-6322: Fix file_with_header_footer_negative.q (reviewed by Brock Noland)

Modified:
    
hive/trunk/ql/src/test/queries/clientnegative/file_with_header_footer_negative.q
    
hive/trunk/ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out

Modified: 
hive/trunk/ql/src/test/queries/clientnegative/file_with_header_footer_negative.q
URL: 
http://svn.apache.org/viewvc/hive/trunk/ql/src/test/queries/clientnegative/file_with_header_footer_negative.q?rev=1577762&r1=1577761&r2=1577762&view=diff
==============================================================================
--- 
hive/trunk/ql/src/test/queries/clientnegative/file_with_header_footer_negative.q
 (original)
+++ 
hive/trunk/ql/src/test/queries/clientnegative/file_with_header_footer_negative.q
 Fri Mar 14 23:36:52 2014
@@ -1,8 +1,8 @@
 dfs ${system:test.dfs.mkdir} 
hdfs:///tmp/test_file_with_header_footer_negative/;
 
-dfs -copyFromLocal ../data/files/header_footer_table_1 
hdfs:///tmp/test_file_with_header_footer_negative/header_footer_table_1;
+dfs -copyFromLocal ../../data/files/header_footer_table_1 
hdfs:///tmp/test_file_with_header_footer_negative/header_footer_table_1;
 
-dfs -copyFromLocal ../data/files/header_footer_table_2 
hdfs:///tmp/test_file_with_header_footer_negative/header_footer_table_2;
+dfs -copyFromLocal ../../data/files/header_footer_table_2 
hdfs:///tmp/test_file_with_header_footer_negative/header_footer_table_2;
 
 CREATE EXTERNAL TABLE header_footer_table_1 (name string, message string, id 
int) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LOCATION 
'hdfs:///tmp/test_file_with_header_footer_negative/header_footer_table_1' 
tblproperties ("skip.header.line.count"="1", "skip.footer.line.count"="200");
 
@@ -10,4 +10,4 @@ SELECT * FROM header_footer_table_1;
 
 DROP TABLE header_footer_table_1;
 
-dfs -rmr hdfs:///tmp/test_file_with_header_footer_negative;
\ No newline at end of file
+dfs -rmr hdfs:///tmp/test_file_with_header_footer_negative;

Modified: 
hive/trunk/ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out
URL: 
http://svn.apache.org/viewvc/hive/trunk/ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out?rev=1577762&r1=1577761&r2=1577762&view=diff
==============================================================================
--- 
hive/trunk/ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out
 (original)
+++ 
hive/trunk/ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out
 Fri Mar 14 23:36:52 2014
@@ -1,2 +1,18 @@
-Command failed with exit code = -1
-Query returned non-zero code: -1, cause: null
+#### A masked pattern was here ####
+PREHOOK: type: CREATETABLE
+#### A masked pattern was here ####
+PREHOOK: Output: database:default
+#### A masked pattern was here ####
+POSTHOOK: type: CREATETABLE
+#### A masked pattern was here ####
+POSTHOOK: Output: database:default
+POSTHOOK: Output: default@header_footer_table_1
+PREHOOK: query: SELECT * FROM header_footer_table_1
+PREHOOK: type: QUERY
+PREHOOK: Input: default@header_footer_table_1
+#### A masked pattern was here ####
+POSTHOOK: query: SELECT * FROM header_footer_table_1
+POSTHOOK: type: QUERY
+POSTHOOK: Input: default@header_footer_table_1
+#### A masked pattern was here ####
+Failed with exception java.io.IOException:java.io.IOException: footer number 
exceeds the limit defined in hive.file.max.footer


Reply via email to