incubator-gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lewis John Mcgibbney <lewis.mcgibb...@gmail.com>
Subject Re: Problem with compile-examples.sh
Date Wed, 30 Nov 2011 17:38:19 GMT
Hi Enis,

Having tried out this wee patch I'm still having some problems compiling
the examples through the offending shell script.

I'm included my experiences in the issue you opened.

Thanks for now,

Lewis

On Tue, Nov 29, 2011 at 6:52 PM, Enis Söztutar <enis.soz@gmail.com> wrote:

> Hi
>
> Good catch. It seems that in GoraCompiler, the call to
> Schema.getValueType() is wrong for arrays. I have created a one-liner at
> https://issues.apache.org/jira/browse/GORA-63.
>
> Thanks,
> Enis
>
> On Sat, Nov 26, 2011 at 11:34 AM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
> > Hi,
> >
> > Can someone else please the following:
> > Checkout trunk, after compiling and installing run
> > bin/compile-examples.sh
> >
> > I get the following
> >
> > lewis@lewis-01:~/ASF/gora$ bin/compile-examples.sh
> > Compiling gora-core/src/examples/avro/employee.json
> > Compiling gora-core/src/examples/avro/tokendatum.json
> > Compiling gora-core/src/examples/avro/webpage.json
> > Exception in thread "main" org.apache.avro.SchemaParseException: Map has
> no
> > values type: {"type":"map","items":"string"}
> >    at org.apache.avro.Schema.parse(Schema.java:938)
> >    at org.apache.avro.Schema.parse(Schema.java:912)
> >    at org.apache.avro.Schema.parse(Schema.java:796)
> >    at
> > org.apache.gora.compiler.GoraCompiler.compileSchema(GoraCompiler.java:62)
> >    at org.apache.gora.compiler.GoraCompiler.main(GoraCompiler.java:448)
> > Compiling gora-core/src/examples/avro/webpage.json~
> > Exception in thread "main" org.apache.avro.SchemaParseException: Array
> has
> > no items type: {"type":"array","values":"string"}
> >    at org.apache.avro.Schema.parse(Schema.java:933)
> >    at org.apache.avro.Schema.parse(Schema.java:912)
> >    at org.apache.avro.Schema.parse(Schema.java:796)
> >    at
> > org.apache.gora.compiler.GoraCompiler.compileSchema(GoraCompiler.java:62)
> >    at org.apache.gora.compiler.GoraCompiler.main(GoraCompiler.java:448)
> >
> > Am I meant to be doing something before hand?
> >
> > --
> > *Lewis*
> >
>



-- 
*Lewis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message