Bing Li created HIVE-4589: ----------------------------- Summary: 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