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-1349) Sqoop2: Use configurable writable to get Intermediate Data Format
Date Thu, 13 Nov 2014 19:39:34 GMT

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

Hudson commented on SQOOP-1349:
-------------------------------

UNSTABLE: Integrated in Sqoop2-hadoop100 #674 (See [https://builds.apache.org/job/Sqoop2-hadoop100/674/])
SQOOP-1349: Sqoop2: Use configurable writable to get Intermediate Data Format (abraham: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=90ec25b2a8ac44b1f42ac7d9eb0a1557717a3629)
* execution/mapreduce/src/main/java/org/apache/sqoop/job/io/FieldTypes.java
* execution/mapreduce/src/test/java/org/apache/sqoop/job/mr/TestSqoopOutputFormatLoadExecutor.java
* execution/mapreduce/src/test/java/org/apache/sqoop/job/io/TestSqoopWritable.java
* execution/mapreduce/src/main/java/org/apache/sqoop/job/io/SqoopWritable.java
* execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopInputFormat.java
* execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopOutputFormatLoadExecutor.java
* execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java


> Sqoop2: Use configurable writable to get Intermediate Data Format
> -----------------------------------------------------------------
>
>                 Key: SQOOP-1349
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1349
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: sqoop2-framework
>    Affects Versions: 1.99.3
>            Reporter: Abraham Elmahrek
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.5
>
>         Attachments: SQOOP-1349-tested.patch, SQOOP-1349.abe.patch
>
>
> The below code performs an unnecessary string copy.
> {code}
> toDataFormat.setObjectData( matcher.getMatchingData( fromDataFormat.getObjectData() )
);
> writable.setString(toDataFormat.getTextData());
> context.write(writable, NullWritable.get());
> {code}
> It would be better to just pass IDFs around.



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

Mime
View raw message