Apache Gora
  1. Apache Gora
  2. GORA-63

bin/compile-examples.sh does not work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.2.1
    • Component/s: None
    • Labels:
      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)
      
      1. GORA-63_v1.patch
        0.8 kB
        Enis Soztutar

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development