hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4589) Hive Load command failed when inpath contains space or any restricted characters
Date Mon, 01 Jul 2013 07:16:20 GMT

     [ https://issues.apache.org/jira/browse/HIVE-4589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashutosh Chauhan updated HIVE-4589:
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 0.12.0
           Status: Resolved  (was: Patch Available)

With HIVE-4554 checked-in, resolving this as Duplicate. Feel free to reopen if issue still
reproduces.
                
> 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.9.0, 0.10.0
>            Reporter: Bing Li
>            Assignee: Bing Li
>             Fix For: 0.12.0
>
>         Attachments: HIVE-4589.patch
>
>
> 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

Mime
View raw message