Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # user >> Array error while generate-source

Copy link to this message
Array error while generate-source
I got IDL based protocol:
record SourceData{
         string id;

     array<SourceData> SourceOffer; //line13

I keep getting error:

Failed to execute goal
org.apache.avro:avro-maven-plugin:1.7.5:idl-protocol (schemas) on
project Network: Error compiling protocol file protocol.avdl to
org.apache.avro.compiler.idl.ParseException: Encountered " ";" "; "" at
line 13, column 38.
[ERROR] Was expecting:
[ERROR] "(" ...
[ERROR] -> [Help 1]

What seems to be the problem? Can't I use array of 'SourceData' type?