gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (GORA-174) GORA compiler does not handle ["string", "null"] unions in the AVRO schema
Date Sun, 18 Nov 2012 23:42:58 GMT

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

Alfonso Nishikawa edited comment on GORA-174 at 11/18/12 11:41 PM:
-------------------------------------------------------------------

Hi, Julien.
Try the patch and tell me if it solves your problem (I tested, but who knows...).
Sadly, you will get the exception in GORA-183. Will try to fix it soon.
--edited: GORA-183 affects HBase backend. What are you using?
                
      was (Author: alfonso.nishikawa):
    Hi, Julien.
Try the patch and tell me if it solves your problem (I tested, but who knows...).
Sadly, you will get the exception in GORA-183. Will try to fix it soon.
                  
> GORA compiler does not handle ["string", "null"] unions in the AVRO schema
> --------------------------------------------------------------------------
>
>                 Key: GORA-174
>                 URL: https://issues.apache.org/jira/browse/GORA-174
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: schema
>    Affects Versions: 0.2.1
>            Reporter: Julien Nioche
>             Fix For: 0.3
>
>         Attachments: GORA-174.patch
>
>
> See NUTCH-1477 for description. 
> We are getting NPE when using the DataFileAvroStore, in order to avoid that I modified
the schema to allow for null values on some fields e.g.    {"name": "baseUrl", "type": ["string",
"null"] }
> however when generating the code for the schema the accessors are not generated by GORA
which prevents Nutch from compiling 

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

Mime
View raw message