You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Enis Soztutar (Commented) (JIRA)" <ji...@apache.org> on 2011/12/01 03:29:40 UTC

[jira] [Commented] (GORA-63) bin/compile-examples.sh does not work

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

Enis Soztutar commented on GORA-63:
-----------------------------------


I retried the patch w/o any problem. It seems that the error you are getting is the same as before, so I suspect maybe the patch is not applied correctly. What do you see when you do svn diff? You should only see the one line change from .getValueType() to .getElementType(). 

                
> 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
>         Attachments: GORA-63_v1.patch
>
>
> 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