hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <>
Subject [jira] Commented: (HIVE-1181) Make it optional to check file format
Date Fri, 19 Feb 2010 22:24:28 GMT


Zheng Shao commented on HIVE-1181:

The "drop table" command is dropping wrong tables. Also we should have a newline at the end
of the file.

--- ql/src/test/queries/clientpositive/disable_file_format_check.q	(revision 0)
+++ ql/src/test/queries/clientpositive/disable_file_format_check.q	(revision 0)
@@ -0,0 +1,8 @@
+set hive.fileformat.check = false;
+create table kv_fileformat_check_txt (key string, value string) stored as textfile;
+load data local inpath '../data/files/kv1.seq' overwrite into table kv_fileformat_check_txt;
+create table kv_fileformat_check_seq (key string, value string) stored as sequencefile;
+load data local inpath '../data/files/kv1.txt' overwrite into table kv_fileformat_check_seq;
+drop table kv_fileformat_check;
\ No newline at end of file

> Make it optional to check file format
> -------------------------------------
>                 Key: HIVE-1181
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Improvement
>            Reporter: Zheng Shao
>            Assignee: He Yongqiang
>         Attachments: hive-1181-branch0.5-1.patch, hive-1181-branch0.5-2.patch, hive-1181-trunk-1.patch
> Until MAPREDUCE-1504 is fixed, we need to introduce a way to avoid leaking file descriptor
because of file format check in the load command.
> We already have the option in {{MoveTask}}. We just need to add a HiveConf var to make
it configurable.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message