You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Bing Li (JIRA)" <ji...@apache.org> on 2013/05/22 10:15:20 UTC
[jira] [Updated] (HIVE-4589) Hive Load command failed when inpath
contains space or any restricted characters
[ https://issues.apache.org/jira/browse/HIVE-4589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bing Li updated HIVE-4589:
--------------------------
Status: Patch Available (was: In Progress)
> Hive Load command failed when inpath contains space or any restricted characters
> --------------------------------------------------------------------------------
>
> Key: HIVE-4589
> URL: https://issues.apache.org/jira/browse/HIVE-4589
> Project: Hive
> Issue Type: Bug
> Components: CLI
> Affects Versions: 0.10.0, 0.9.0
> Reporter: Bing Li
> Assignee: Bing Li
>
> 0) create a simple text file with some string. See attached uk.cities
> 1) Create a directory in Hadoop that contains a space in the name
> hadoop fs -mkdir '/testdir/bri tain/'
> hadoop fs -copyFromLocal /tmp/uk.cities '/testdir/bri tain/uk.cities'
> 2) create table partspace ( city string) partitioned by ( country string) row format delimited FIELDS TERMINATED BY '$' stored as textfile;
> 3) load data inpath '/testdir/bri tain/uk.cities' into table partspace partition (country='britain');
> Then I got the message like,
> Load failed with message "Wrong file format. Please check the file's format"
--
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