sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1078) incremental import from database in direct mode
Date Wed, 19 Jun 2013 22:40:20 GMT

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

ASF subversion and git services commented on SQOOP-1078:

Commit 92e94b911d203fafbd4f3784badd29431aa5bf78 in branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=92e94b9 ]

SQOOP-1078: incremental import from database in direct mode

(Tim Howe via Jarek Jarcec Cecho)

> incremental import from database in direct mode
> -----------------------------------------------
>                 Key: SQOOP-1078
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1078
>             Project: Sqoop
>          Issue Type: Bug
>          Components: connectors, connectors/mysql, connectors/postgresql
>    Affects Versions: 1.3.0, 1.4.2, 1.4.3
>            Reporter: Tim Howe
>            Assignee: Tim Howe
>            Priority: Minor
>              Labels: patch
>             Fix For: 1.3.0
>         Attachments: sqoop-incremental-direct.patch
> A problem exists in Sqoop's incremental import, namely that any imports
> after the first report success but the data never appears.
> A temporary file created on HDFS with the data but is deleted upon
> completion rather than being moved into place.
> It turns out to be a conflict between the "direct mode" database
> managers and "incremental mode" import.  Ordinarily Sqoop ends up
> creating files named part-m-nnnnn where nnnnn is an incrementing file
> partition number.  However the direct mode importer creates files of
> the form data-nnnnn.  This poses a problem because AppendUtils, which
> is used to move files into place at the end of a direct import, only
> copies files which match that part-m-nnnnn format and discards the
> rest.

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

View raw message