gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alparslan Avcı (JIRA) <j...@apache.org>
Subject [jira] [Commented] (GORA-246) Upgrade to Avro 1.7.X in gora-hbase
Date Tue, 07 Jan 2014 10:01:55 GMT

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

Alparslan Avcı commented on GORA-246:

Thanks for the help [~alfonso.nishikawa], [~lewismc].

The new schema fixes the problem. But I have another question.

When we want to reach a 'map' type field in GORA_94, field value comes null (not with an empty
map object). To prevent this, we have to set an empty map object before we do any operation
in order not to get any NPE. You can see this also in DataStoreTestUtil.testPutMap() test
in GORA_94 branch. Because of this problem; in Nutch, we have to set empty map objects before
any serialization like in GeneratorMapper. 
Is there any way to fix this? Maybe again I've misconfigured something.

> 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

View raw message