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

Hudson commented on SQOOP-2339:
-------------------------------

FAILURE: Integrated in Sqoop-ant-jdk-1.6-hadoop20 #993 (See 
[https://builds.apache.org/job/Sqoop-ant-jdk-1.6-hadoop20/993/])
SQOOP-2339: Move sub-directory might fail in append mode (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=fa4e90365024b7aa0b07591a873b07d87c75e071)
* src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java
* src/java/org/apache/sqoop/util/AppendUtils.java
* src/test/com/cloudera/sqoop/TestParquetImport.java


> Move sub-directory might fail in append mode
> --------------------------------------------
>
>                 Key: SQOOP-2339
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2339
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.5
>            Reporter: Qian Xu
>            Assignee: Qian Xu
>             Fix For: 1.4.7
>
>         Attachments: SQOOP-2339.patch
>
>
> In append mode, Sqoop will first create dataset in a temporary directory and 
> then move it target directory. I noticed that if the temporary directory 
> contains  sub-directory and the target directory has a same directory, the 
> import might fail with an IOException. This will happen in old hadoop 
> distribution such as hadoop-2.0.4-alpha. 
> There is no problem with hadoop-2.5.0. With hadoop-2.5.0, duplicated 
> directory will be renamed by adding a suffix "-0000" (the digit might be 
> increased). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to