hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <>
Subject [jira] [Commented] (HIVE-4554) Failed to create a table from existing file if file path has spaces
Date Wed, 05 Jun 2013 23:17:20 GMT


Xuefu Zhang commented on HIVE-4554:

Patch is updated with the following change made to the test case in TestMinimrCliDriver:


dfs -rmr hdfs:///tmp/test/load_file_with_space_in_the_name;


dfs -rmr hdfs:///tmp/test;

which should get ride of /tmp/test, allowing other test cases to create it again.
> Failed to create a table from existing file if file path has spaces
> -------------------------------------------------------------------
>                 Key: HIVE-4554
>                 URL:
>             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, 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:

View raw message