You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Gwen Shapira (JIRA)" <ji...@apache.org> on 2014/10/25 19:32:34 UTC

[jira] [Commented] (SQOOP-1622) Copying from staging table should be in single transaction for pg_bulkload connector

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

Gwen Shapira commented on SQOOP-1622:
-------------------------------------

I'm not sure I see what problem this patch solves.

Currently the number of reducers is configurable. Why do we want to hard-code it to 1?

> Copying from staging table should be in single transaction for pg_bulkload connector
> ------------------------------------------------------------------------------------
>
>                 Key: SQOOP-1622
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1622
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: connectors/postgresql
>    Affects Versions: 1.4.5
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>
> PGBulkloadExportReducer#reduce may be called per map task because the map output key is unique ID of map task. Each reduce tasks should do copying from staging table in single transaction.



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