[ 
https://issues.apache.org/jira/browse/HIVE-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13677591#comment-13677591
 ] 

Hudson commented on HIVE-4554:
------------------------------

Integrated in Hive-trunk-h0.21 #2131 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2131/])
    HIVE-4554 : Failed to create a table from existing file if file path has 
spaces (Xuefu Zhang via Ashutosh Chauhan) (Revision 1490101)

     Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1490101
Files : 
* /hive/trunk/build-common.xml
* /hive/trunk/data/files/person age.txt
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java
* 
/hive/trunk/ql/src/test/queries/clientpositive/load_file_with_space_in_the_name.q
* 
/hive/trunk/ql/src/test/queries/clientpositive/load_hdfs_file_with_space_in_the_name.q
* 
/hive/trunk/ql/src/test/results/clientpositive/load_file_with_space_in_the_name.q.out
* 
/hive/trunk/ql/src/test/results/clientpositive/load_hdfs_file_with_space_in_the_name.q.out

                
> 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
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4554.patch, HIVE-4554.patch.1, HIVE-4554.patch.2, 
> HIVE-4554.patch.3, HIVE-4554.patch.4, HIVE-4554.patch.5
>
>
> 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

Reply via email to