You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/03/06 23:05:43 UTC

[jira] [Updated] (GORA-244) Upgrade to Avro 1.7.X in gora-accumulo

     [ https://issues.apache.org/jira/browse/GORA-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated GORA-244:
--------------------------------------

    Attachment: GORA-244v2.patch

This is a continuation of the work undertaken over on GORA-292.

[~akber], I wonder if you can look into this patch so we can sort out the semantics of dealing with complex data types e.g. Map with UNION, etc.

To clean up AccumuloStore, I've moved out as much Encoding related material to a new GoraAccumuloEncodingTypeInferrer class. This shadows gora-cassandra which i think works pretty well.

In GoraAccumuloEncodingTypeInferrer#fromBytes I've added switch cases for ARRAY, FIXED, MAP, NULL, RECORD and UNION however I am not positive if we need to write our own implementations or if there are existing one for us to use so we need to add these cases. I was hoping that you would be able to advise on this as well.

Thanks to anyone able to lok into this patch. Once applied to GORA_94 branch I get some 12 errors; all of which relate to java.lang.IllegalArgumentException: Unknown type UNION.

Once we fix this I am pretty convinced we can stabilize this module and move on.

> Upgrade to Avro 1.7.X in gora-accumulo
> --------------------------------------
>
>                 Key: GORA-244
>                 URL: https://issues.apache.org/jira/browse/GORA-244
>             Project: Apache Gora
>          Issue Type: Sub-task
>          Components: gora-accumulo, gora-core
>    Affects Versions: 0.4
>            Reporter: Lewis John McGibbney
>             Fix For: 0.4
>
>         Attachments: GORA-244.patch, GORA-244v2.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)