sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1581) Sqoop2: LoaderContext has the wrong Schema
Date Sun, 19 Oct 2014 16:56:34 GMT

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

Hudson commented on SQOOP-1581:
-------------------------------

FAILURE: Integrated in Sqoop2-hadoop100 #618 (See [https://builds.apache.org/job/Sqoop2-hadoop100/618/])
SQOOP-1581: Sqoop2: LoaderContext has the wrong Schema (abraham: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3257b385555f412b962195a8fb0e1d522d9fa661)
* execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopOutputFormatLoadExecutor.java


> Sqoop2: LoaderContext has the wrong Schema
> ------------------------------------------
>
>                 Key: SQOOP-1581
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1581
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: from/to
>            Reporter: Abraham Elmahrek
>            Assignee: Qian Xu
>             Fix For: 1.99.4
>
>         Attachments: SQOOP-1581.2.patch, SQOOP-1581.3.patch, SQOOP-1581.patch
>
>
> {code}
>         if (!isTest) {
>           // Using the TO schema since the IDF returns data in TO schema
>           schema = ConfigurationUtils.getConnectorSchema(Direction.TO, conf);
>           ...
>         }
>         // Create loader context
>         LoaderContext loaderContext = new LoaderContext(subContext, reader, schema);
> {code}
> In some cases, the matcher will use the FROM schema. The loader should provide the FROM
schema in this case.



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

Mime
View raw message