Return-Path: X-Original-To: apmail-incubator-sqoop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-sqoop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8964899FE for ; Mon, 5 Mar 2012 09:03:22 +0000 (UTC) Received: (qmail 23028 invoked by uid 500); 5 Mar 2012 09:03:22 -0000 Delivered-To: apmail-incubator-sqoop-dev-archive@incubator.apache.org Received: (qmail 22978 invoked by uid 500); 5 Mar 2012 09:03:22 -0000 Mailing-List: contact sqoop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sqoop-dev@incubator.apache.org Delivered-To: mailing list sqoop-dev@incubator.apache.org Received: (qmail 22894 invoked by uid 99); 5 Mar 2012 09:03:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 09:03:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 09:03:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2B4B69A01 for ; Mon, 5 Mar 2012 09:02:59 +0000 (UTC) Date: Mon, 5 Mar 2012 09:02:59 +0000 (UTC) From: "Kyryl Bilokurov (Updated) (JIRA)" To: sqoop-dev@incubator.apache.org Message-ID: <833775312.21769.1330938179178.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1594693803.35687.1324481850641.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SQOOP-416) Allow code-generation arguments with Avro imports MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SQOOP-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kyryl Bilokurov updated SQOOP-416: ---------------------------------- Attachment: (was: SQOOP-416.patch) > Allow code-generation arguments with Avro imports > ------------------------------------------------- > > Key: SQOOP-416 > URL: https://issues.apache.org/jira/browse/SQOOP-416 > Project: Sqoop > Issue Type: Improvement > Components: codegen > Affects Versions: 1.4.2-incubating > Reporter: Michael Haeusler > Assignee: Kyryl Bilokurov > Labels: avro > Fix For: 1.4.2-incubating > > Attachments: SQOOP-416.patch > > > If you use --as-avrodatafile, sqoop will automatically generate an avro schema and store it in the header of the avro files. You can easily extract and use that auto-generated schema (e.g., with avro-tools getschema, avro-tools compile). It would be a great improvement, if you could customize the name and namespace of the generated record type in this schema with the already existing arguments --package-name and/or --class-name. -- 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