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

          Gavin made changes -
          Workflow jira [ 12643882 ] no-reopen-closed, patch-avail [ 12735320 ]
          Lewis John McGibbney made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Lewis John McGibbney made changes -
          Fix Version/s 0.2.1 [ 12322496 ]
          Fix Version/s 0.3 [ 12317954 ]
          Lewis John McGibbney made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Lewis John McGibbney made changes -
          Link This issue is part of GORA-133 [ GORA-133 ]
          Lewis John McGibbney made changes -
          Fix Version/s 0.3 [ 12317954 ]
          Fix Version/s 0.2 [ 12315541 ]
          Lewis John McGibbney made changes -
          Fix Version/s 0.2 [ 12315541 ]
          Affects Version/s 0.2 [ 12315541 ]
          Enis Soztutar made changes -
          Field Original Value New Value
          Attachment GORA-63_v1.patch [ 12505518 ]
          Enis Soztutar created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development