gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renato Javier Marroquín Mogrovejo (JIRA) <j...@apache.org>
Subject [jira] [Commented] (GORA-191) Support multiple Avro Schemas within GoraCompiler
Date Fri, 26 Apr 2013 04:42:17 GMT

    [ https://issues.apache.org/jira/browse/GORA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642593#comment-13642593

Renato Javier Marroquín Mogrovejo commented on GORA-191:

Hi all,

I think we should keep the usage as it is so we don't complicate users with new changes.
We should maintain the "Usage: GoraCompiler <schema file> <output dir> [-license
<id>]" and just detect whether or not the input schema file is a file or a directory

  boolean isDirectory = directory.isDirectory();
  if (isDirectory) 
     // get all schemas from the directory and compile them
     // get the specific schema file and compile it

Wouldn't that be easier for users?
> Support multiple Avro Schemas within GoraCompiler
> -------------------------------------------------
>                 Key: GORA-191
>                 URL: https://issues.apache.org/jira/browse/GORA-191
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core, schema
>    Affects Versions: 0.4
>            Reporter: Lewis John McGibbney
>            Assignee: Apostolos Giannakidis
>            Priority: Critical
>              Labels: goraCompiler, patch
>             Fix For: 0.4
>         Attachments: GORA-191.patch, goraCompilerPatch.patch
> We need to automate the compiling of various .avsc files over in Nutch. We should add
a constructor to GoraCompiler so it can be used more widely. 

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

View raw message