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

Hudson commented on SQOOP-2228:
-------------------------------

FAILURE: Integrated in Sqoop2-hadoop200 #787 (See 
[https://builds.apache.org/job/Sqoop2-hadoop200/787/])
SQOOP-2228: Sqoop2: HDFS Connector: Import data to temporary directory before 
moving them to target directory (abe: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a9f7b3ddd0b00557901dd2268b66b799a4f1c684)
* 
connector/connector-hdfs/src/main/java/org/apache/sqoop/connector/hdfs/HdfsToInitializer.java
* 
connector/connector-hdfs/src/test/java/org/apache/sqoop/connector/hdfs/TestLoader.java
* 
connector/connector-hdfs/src/test/java/org/apache/sqoop/connector/hdfs/TestToInitializer.java
* common/src/main/java/org/apache/sqoop/error/code/HdfsConnectorError.java
* 
connector/connector-hdfs/src/main/java/org/apache/sqoop/connector/hdfs/HdfsToDestroyer.java
* 
connector/connector-hdfs/src/main/java/org/apache/sqoop/connector/hdfs/HdfsConstants.java
* 
connector/connector-hdfs/src/test/java/org/apache/sqoop/connector/hdfs/TestToDestroyer.java
* 
connector/connector-hdfs/src/main/java/org/apache/sqoop/connector/hdfs/HdfsLoader.java


> Sqoop2: HDFS Connector: Import data to temporary directory before moving them 
> to target directory
> -------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-2228
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2228
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.5
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.6
>
>         Attachments: SQOOP-2228.patch
>
>
> Current HDFS connector will import data directory to target directory. This 
> is a trouble as anyone who will read the directory mid Sqoop job will get 
> partial results and that will be even bigger problem when incremental will be 
> enabled. Hence I would propose to change this behavior to firstly import data 
> to temporary directory and move them to target directory only as long as 
> entire job will be successful.



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

Reply via email to