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

Rodrigo Matihara commented on SQOOP-1306:
-----------------------------------------

Hi Jarek,
I know that the default of Sqoop is importing to HDFS, but setting target-dir 
to my s3n URI, I could import data from MySQL into Amazon S3.
Using S3 instead HDFS, I came across this problem, cause I would like to create 
temp files locally and when the process get finished, send than to S3.
I need to move the files from local FileSystem to Amazon S3 FileSystem.

> Allow Sqoop to move files from different FileSystems on incremental import
> --------------------------------------------------------------------------
>
>                 Key: SQOOP-1306
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1306
>             Project: Sqoop
>          Issue Type: Improvement
>    Affects Versions: 1.4.4
>            Reporter: Rodrigo Matihara
>
> Sqoop doesn't allow to move files from different FileSystems executing an 
> import (--append or --incremental).
> Trying to import using a local temp-dir and a S3 target-dir, the operation is 
> complete, however the file is not created in S3 bucket and this warning is 
> raised:
> WARN  - Cannot append files to target dir; no such directory: 
> _sqoop/15151724000000436_31417_localhost.localdomain_<tablename>
> Looking into on source, I found that AppendUtils.java considers that tempDir 
> and targetDir are at the same Filesystem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to