Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 048961063A for ; Thu, 19 Dec 2013 04:29:18 +0000 (UTC) Received: (qmail 35138 invoked by uid 500); 19 Dec 2013 04:29:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 35041 invoked by uid 500); 19 Dec 2013 04:29:10 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 35027 invoked by uid 500); 19 Dec 2013 04:29:08 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 35008 invoked by uid 99); 19 Dec 2013 04:29:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 04:29:07 +0000 Date: Thu, 19 Dec 2013 04:29:07 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-6048) Hive load data command rejects file with '+' in the name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-6048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852594#comment-13852594 ] Xuefu Zhang commented on HIVE-6048: ----------------------------------- [~ashutoshc] I agree with you about the need for HIVE-6024. However, I thinking solving that problem doesn't necessary address the problem described here, as the same issue also occurs with non-local files. {code} hive> dfs -ls /tmp/files/t+est.txt; Found 1 items -rw-r--r-- 1 xzhang supergroup 9 2013-12-18 20:20 /tmp/files/t+est.txt hive> load data inpath '/tmp/files/t+est.txt' into table test; Loading data to table default.test 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 {code} Therefore, it might make sense to solve them separately. > Hive load data command rejects file with '+' in the name > -------------------------------------------------------- > > Key: HIVE-6048 > URL: https://issues.apache.org/jira/browse/HIVE-6048 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.12.0 > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Attachments: HIVE-6048.patch > > > '+' is a valid character in a file name on linux and HDFS. However, loading data from such a file into table results the following error: > {code} > hive> load data local inpath './t+est' into table test; > FAILED: SemanticException Line 1:23 Invalid path ''./t+est'': No files matching path file:/home/xzhang/apache/hive7/t%20est > {code} -- This message was sent by Atlassian JIRA (v6.1.4#6159)