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 C7C759B3F for ; Sun, 2 Jun 2013 13:55:22 +0000 (UTC) Received: (qmail 10671 invoked by uid 500); 2 Jun 2013 13:55:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 10572 invoked by uid 500); 2 Jun 2013 13:55:21 -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 10557 invoked by uid 500); 2 Jun 2013 13:55:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 10553 invoked by uid 99); 2 Jun 2013 13:55:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jun 2013 13:55:21 +0000 Date: Sun, 2 Jun 2013 13:55:21 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4554) Failed to create a table from existing file if file path has spaces 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-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-4554: ------------------------------ Attachment: HIVE-4554.patch.2 > Failed to create a table from existing file if file path has spaces > ------------------------------------------------------------------- > > Key: HIVE-4554 > URL: https://issues.apache.org/jira/browse/HIVE-4554 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.10.0 > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Attachments: HIVE-4554.patch, HIVE-4554.patch.1, HIVE-4554.patch.2 > > > To reproduce the problem, > 1. Create a table, say, person_age (name STRING, age INT). > 2. Create a file whose name has a space in it, say, "data set.txt". > 3. Try to load the date in the file to the table. > The following error can be seen in the console: > hive> LOAD DATA INPATH '/home/xzhang/temp/data set.txt' INTO TABLE person_age; > Loading data to table default.person_age > 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 > Note: the error message is confusing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira