Index: ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out =================================================================== --- ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out (revision 1577743) +++ ql/src/test/results/clientnegative/file_with_header_footer_negative.q.out (working copy) @@ -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 Index: ql/src/test/queries/clientnegative/file_with_header_footer_negative.q =================================================================== --- ql/src/test/queries/clientnegative/file_with_header_footer_negative.q (revision 1577743) +++ ql/src/test/queries/clientnegative/file_with_header_footer_negative.q (working copy) @@ -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 @@ 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;