That sure is a rocky road right enough.
We're in the process of making the Avro upgrade to 1.7.x in Gora and it is
not trivial, although we were given a huge pointer by Ed a while back.
I wonder if you've been able to grab/or even seen the Avro patches I put up
on our Jira last week? They will undoubtedly help you a long way of doing
the Avro upgrade... unfortunately your on your own with the C++ stuff ;)
Thanks

On Wednesday, June 19, 2013, buzz heavyyear <buzzheavyy...@hotmail.com>
wrote:
> Hi Guys,
> Sincere apologies over this, I have egg on my face as I didn't dig deep
enough.
> I'm trying to merge the latest avro branch with gora with a view to
pruning anything which is redundant and then converting to C++ for use in
an embedded device. It's a hard and rocky road. Thanks for pointing
out SpecificDatumReader. In, I think, Avro 1.6.0, getFields, setFields have
been moved to GenericData; so prepending getFields/setFields with getData()
works - just needs to be tested.
> Thanks again for the time you spent dealing with this.
> Cheers
> Nick
>
> ________________________________
> Date: Tue, 18 Jun 2013 13:48:10 -0700
> Subject: Re: getField, setField in
org.apache.gora.avro.PersistentDatumReader
> From: lewis.mcgibb...@gmail.com
> To: user@gora.apache.org
>
> Hi Nick,
> As you've maybe noticed, getField(record, name, pos) is inherited from
Avro's SpecificDatumReader [0].
>
> If there is an error compiling, I can only imagine it is because Avro is
not available at compile time?
>
> [0]
http://svn.apache.org/viewvc/avro/tags/release-1.3.3/lang/java/src/java/org/apache/avro/specific/SpecificDatumReader.java?view=markup
>
>
> On Tue, Jun 18, 2013 at 10:28 AM, buzz heavyyear <
buzzheavyy...@hotmail.com> wrote:
>
> Hi,
> I'm busy reading through your excellent code, compiling various snippets
to understand how things work and I'm having problems in trying to compile
PersistentDatumReader - it's unable to find getField(record, name, pos) and
setField(record, name, pos, ....) in Object readRecord(Object old, Schema
expected, ResolvingDecoder in);
> I have a feeling that I've missed an installation step somewhere. Could
anyone give me a pointer on what I should have done to get this to compile.
> Thanks,
> Nick.
>
>
> --
> Lewis
>

-- 
*Lewis*

Reply via email to