You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Ramakrishna N (JIRA)" <ji...@apache.org> on 2013/07/19 19:40:47 UTC

[jira] [Created] (SQOOP-1146) Enable mysql's direct export to work with Avro

Ramakrishna N created SQOOP-1146:
------------------------------------

             Summary: Enable mysql's direct export to work with Avro
                 Key: SQOOP-1146
                 URL: https://issues.apache.org/jira/browse/SQOOP-1146
             Project: Sqoop
          Issue Type: New Feature
          Components: connectors/mysql, sqoop2-framework
            Reporter: Ramakrishna N
            Priority: Minor



Exporting data via sqoop to a mysql table works on Avro files without the direct option. The job's input format changes to org.apache.sqoop.mapreduce.AvroInputFormat from  org.apache.sqoop.mapreduce.ExportInputFormat meant for plain text.

Export does not work for avro files with the direct option though. There is no way an input format can be specified as well. Seems like it's assumed to be a plain text file. The mapreduce.inputformat.class remains org.apache.sqoop.mapreduce.ExportInputFormat even for an Avro directory.


--
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