Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 63089 invoked from network); 20 Nov 2009 02:59:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 02:59:02 -0000 Received: (qmail 43152 invoked by uid 500); 20 Nov 2009 02:59:02 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 43035 invoked by uid 500); 20 Nov 2009 02:59:02 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 43011 invoked by uid 99); 20 Nov 2009 02:59:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 02:59:02 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 02:58:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A03FB234C1F1 for ; Thu, 19 Nov 2009 18:58:39 -0800 (PST) Message-ID: <1726341523.1258685919655.JavaMail.jira@brutus> Date: Fri, 20 Nov 2009 02:58:39 +0000 (UTC) From: "Philip Zeyliger (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-154) Tool to induce schema using reflection In-Reply-To: <1147434433.1255673911279.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Zeyliger updated AVRO-154: --------------------------------- Status: Patch Available (was: Open) > Tool to induce schema using reflection > -------------------------------------- > > Key: AVRO-154 > URL: https://issues.apache.org/jira/browse/AVRO-154 > Project: Avro > Issue Type: New Feature > Reporter: Philip Zeyliger > Assignee: Philip Zeyliger > Attachments: AVRO-154.patch.txt, AVRO-154.patch.txt, AVRO-154.patch.txt > > > Patch that follows gives command-line access to ReflectData's getSchema() API, which creates an AVRO schema based on reflection. > Here's an example: > {noformat} > $ src/scripts/avroj.sh induce build/test/classes org.apache.avro.BarRecord > {"type":"record","name":"BarRecord","namespace":"org.apache.avro","fields":[{"name":"beerMsg","type":"string"}]} > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.