hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-1975) "insert overwrite directory" Not able to insert data with multi level directory path
Date Fri, 28 Oct 2011 13:52:33 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138380#comment-13138380
] 

jiraposter@reviews.apache.org commented on HIVE-1975:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1829/
-----------------------------------------------------------

(Updated 2011-10-28 13:53:07.086932)


Review request for hive and Yongqiang He.


Changes
-------

Addressed  Namit & He Yongqiang comments


Summary
-------

If insert into multilevel directory like '/HIVEFT25686/chinna/'
 (insert overwrite directory '/HIVEFT25686/chinna/' select * from dept_j) is failing because
"fs.rename(sourcePath, targetPath)" is failing rename to multilevel directories, so first
created the target path.


This addresses bug HIVE-1975.
    https://issues.apache.org/jira/browse/HIVE-1975


Diffs (updated)
-----

  trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java 1190202 
  trunk/conf/hive-default.xml 1190202 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java 1190202 
  trunk/ql/src/test/queries/clientpositive/input45.q PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/input45.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/1829/diff


Testing
-------

Ran all testcases


Thanks,

chinna


                
> "insert overwrite directory" Not able to insert data with multi level directory path
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-1975
>                 URL: https://issues.apache.org/jira/browse/HIVE-1975
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0
>         Environment: Hadoop 0.20.1, Hive0.5.0 and SUSE Linux Enterprise Server 10 SP2
(i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-1975.1.patch, HIVE-1975.2.patch, HIVE-1975.3.patch, HIVE-1975.patch
>
>
> Below query execution is failed
> Ex:
> {noformat}
>    insert overwrite directory '/HIVEFT25686/chinna/' select * from dept_j;
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message