From sqoop-dev-return-2126-apmail-incubator-sqoop-dev-archive=incubator.apache.org@incubator.apache.org Fri Mar 2 18:06:20 2012 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 16BC29900 for ; Fri, 2 Mar 2012 18:06:20 +0000 (UTC) Received: (qmail 52594 invoked by uid 500); 2 Mar 2012 18:06:20 -0000 Delivered-To: apmail-incubator-sqoop-dev-archive@incubator.apache.org Received: (qmail 52566 invoked by uid 500); 2 Mar 2012 18:06:20 -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 52556 invoked by uid 99); 2 Mar 2012 18:06:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 18:06:19 +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; Fri, 02 Mar 2012 18:06:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DF8275C96 for ; Fri, 2 Mar 2012 18:05:58 +0000 (UTC) Date: Fri, 2 Mar 2012 18:05:58 +0000 (UTC) From: "Kyryl Bilokurov (Updated) (JIRA)" To: sqoop-dev@incubator.apache.org Message-ID: <1630114470.12900.1330711558917.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: SQOOP-416.patch Newer version, whitespaces cleaned. > 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 > Labels: avro > Attachments: SQOOP-416.patch, 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