Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 33670 invoked from network); 19 Feb 2010 22:24:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 22:24:51 -0000 Received: (qmail 87862 invoked by uid 500); 19 Feb 2010 22:24:51 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 87794 invoked by uid 500); 19 Feb 2010 22:24:51 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 87784 invoked by uid 99); 19 Feb 2010 22:24:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 22:24:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 22:24:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0E62029A0026 for ; Fri, 19 Feb 2010 14:24:28 -0800 (PST) Message-ID: <1222785321.401951266618268057.JavaMail.jira@brutus.apache.org> Date: Fri, 19 Feb 2010 22:24:28 +0000 (UTC) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-1181) Make it optional to check file format In-Reply-To: <1725597439.373521266536607964.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836001#action_12836001 ] 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. {code} --- 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 {code} > Make it optional to check file format > ------------------------------------- > > Key: HIVE-1181 > URL: https://issues.apache.org/jira/browse/HIVE-1181 > 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.