You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Alfonso Nishikawa (JIRA)" <ji...@apache.org> on 2014/01/04 13:18:53 UTC
[jira] [Comment Edited] (GORA-246) Upgrade to Avro 1.7.X in
gora-hbase
[ https://issues.apache.org/jira/browse/GORA-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862280#comment-13862280 ]
Alfonso Nishikawa edited comment on GORA-246 at 1/4/14 12:18 PM:
-----------------------------------------------------------------
Hi [~alparslan.avci],
I'm not on this issue, but, are you defining your types as ['null','type']?
If I am not wrong, Avro's GenericDatumWriter handles nulls. If you don't specify the possibility of a 'null' in a field in the schema, it causes a NullPointerException.
Check you .avsc definitions and comment about :)
(You will find a version of webpage.avsc with nulls in NUTCH-1477)
was (Author: alfonso.nishikawa):
Hi [~alparslan.avci],
I'm not on this issue, but, are you defining your types as ['null','type']?
Up to what I know, Avro's GenericDatumWriter handles nulls. If you don't specify the possibility of a 'null' in a field in the schema, it causes a NullPointerException.
Check you .avsc definitions and comment about :)
(You will find a version of webpage.avsc with nulls in NUTCH-1477)
> Upgrade to Avro 1.7.X in gora-hbase
> -----------------------------------
>
> Key: GORA-246
> URL: https://issues.apache.org/jira/browse/GORA-246
> Project: Apache Gora
> Issue Type: Sub-task
> Components: gora-core, gora-hbase
> Affects Versions: 0.4
> Reporter: Lewis John McGibbney
> Fix For: 0.4
>
> Attachments: GORA-246.patch, GORA-246v2.patch, GORA-246v3.patch, GORA-246v3.patch, GORA-246v4.patch, GORA_246.HBaseDriverTest.patch, GORA_246.HBaseDriverTest.v2.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)