[jira] [Commented] (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:comment-tabpanelfocusedCommentId=13664032#comment-13664032 ] Bing Li commented on HIVE-4589: --- In order to run this test case (-Dtestcase=TestCliDriver -Dqfile=load_fs3.q), you should apply the patch for HIVE-4577 first. 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 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
[jira] [Commented] (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:comment-tabpanelfocusedCommentId=13664095#comment-13664095 ] Xuefu Zhang commented on HIVE-4589: --- It looks like a dupe of HIVE-4554. 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 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