bin/compile-examples.sh does not work
-------------------------------------
Key: GORA-63
URL: https://issues.apache.org/jira/browse/GORA-63
Project: Gora
Issue Type: Bug
Reporter: Enis Soztutar
As reported by Lewis at gora-dev, bin/compile-examples.sh does not work. The
reported exception is:
{code}
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)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira