Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-63

bin/compile-examples.sh does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2.1
    • None
    • None

    Description

      As reported by Lewis at gora-dev, bin/compile-examples.sh does not work. The reported exception is:

      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)
      

      Attachments

        1. GORA-63_v1.patch
          0.8 kB
          Enis Soztutar

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enis Enis Soztutar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: