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

[email protected] commented on SQOOP-406:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3195/
-----------------------------------------------------------

Review request for Sqoop.


Summary
-------

Quick fix permits updating avro files. It should be better to mutualized / 
inheritance code with JdbcExport and other JobBase


This addresses bug SQOOP-406.
    https://issues.apache.org/jira/browse/SQOOP-406


Diffs
-----

  src/java/org/apache/sqoop/mapreduce/JdbcUpdateExportJob.java 1214229 

Diff: https://reviews.apache.org/r/3195/diff


Testing
-------


Thanks,

pieretti


                
> Update Avro files using OraOop and Oracle Database
> --------------------------------------------------
>
>                 Key: SQOOP-406
>                 URL: https://issues.apache.org/jira/browse/SQOOP-406
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.0-incubating
>         Environment: Linux
> Sqoop :  1.4.0
> Oraoop : oraoop-1.4.0.149
> Hadoop : hadoop-core-0.20.2-cdh3u2
>            Reporter: Pieretti Antoine
>
> Hi,
> I am trying to update an Oracle Database, from Avro Files.
> As in JdbcUpdateExportJob only SequenceFileExportMapper and TextExportMapper 
> are available , the update Job try to parse the file using TextExportMapper.
> But at the begining of the file, the avro schema is described, so the update 
> statement failed.
> I try to implement the AvroExportMapper, wich seem works.
> Regards,
> Antoine

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to