Hello! I was trying to compile flink 1.11.3 from github (branch release-1.11.3) but I'm getting the following error saying that it cannot find symbol (adding full trace at the end of the email). Here is my output for mvn -v -- I'm using maven 3.2.5. Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T11:29:23-06:00) Maven home: /usr/local/Cellar/maven@3.2/3.2.5_1/libexec Java version: 1.8.0_275, vendor: AdoptOpenJDK Java home: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac" Any suggestions on what might have happened? I haven't changed anything in the source. Thanks! Le [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[533,31] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[559,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[561,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[576,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[579,51] cannot find symbol symbol: method readFieldOrderIfDiff() location: variable in of type org.apache.avro.io.ResolvingDecoder [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[390,31] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[416,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[418,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[458,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[461,51] cannot find symbol symbol: method readFieldOrderIfDiff() location: variable in of type org.apache.avro.io.ResolvingDecoder [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[317,31] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[343,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[345,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[354,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[357,51] cannot find symbol symbol: method readFieldOrderIfDiff() location: variable in of type org.apache.avro.io.ResolvingDecoder [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[246,31] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[272,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[274,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[287,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[290,51] cannot find symbol symbol: method readFieldOrderIfDiff() location: variable in of type org.apache.avro.io.ResolvingDecoder [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[715,35] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[727,31] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[753,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[755,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[875,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[878,51] cannot find symbol symbol: method readFieldOrderIfDiff() location: variable in of type org.apache.avro.io.ResolvingDecoder [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[318,31] cannot find symbol symbol: class AvroMissingFieldException location: package org.apache.avro [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[344,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[346,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[367,3] method does not override or implement a method from a supertype [ERROR] /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[370,51] cannot find symbol symbol: method readFieldOrderIfDiff() location: variable in of type org.apache.avro.io.ResolvingDecoder |
Please delete the
flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated directory, and then recompile the module. On 12/28/2020 8:22 AM, Le Xu wrote: > Hello! > > I was trying to compile flink 1.11.3 from github (branch > release-1.11.3) but I'm getting the following error saying that it > cannot find symbol (adding full trace at the end of the email). > > Here is my output for mvn -v -- I'm using maven 3.2.5. > > Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; > 2014-12-14T11:29:23-06:00) > Maven home: /usr/local/Cellar/maven@3.2/3.2.5_1/libexec > Java version: 1.8.0_275, vendor: AdoptOpenJDK > Java home: > /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "mac os x", version: "10.15.7", arch: "x86_64", family: "mac" > > > Any suggestions on what might have happened? I haven't changed > anything in the source. > > Thanks! > > Le > > > > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[533,31] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[559,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[561,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[576,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Address.java:[579,51] > cannot find symbol > symbol: method readFieldOrderIfDiff() > location: variable in of type org.apache.avro.io.ResolvingDecoder > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[390,31] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[416,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[418,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[458,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/SimpleRecord.java:[461,51] > cannot find symbol > symbol: method readFieldOrderIfDiff() > location: variable in of type org.apache.avro.io.ResolvingDecoder > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[317,31] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[343,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[345,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[354,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/ArrayItem.java:[357,51] > cannot find symbol > symbol: method readFieldOrderIfDiff() > location: variable in of type org.apache.avro.io.ResolvingDecoder > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[246,31] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[272,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[274,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[287,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/Bar.java:[290,51] > cannot find symbol > symbol: method readFieldOrderIfDiff() > location: variable in of type org.apache.avro.io.ResolvingDecoder > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[715,35] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[727,31] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[753,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[755,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[875,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/NestedRecord.java:[878,51] > cannot find symbol > symbol: method readFieldOrderIfDiff() > location: variable in of type org.apache.avro.io.ResolvingDecoder > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[318,31] > cannot find symbol > symbol: class AvroMissingFieldException > location: package org.apache.avro > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[344,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[346,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[367,3] > method does not override or implement a method from a supertype > [ERROR] > /Users/name/Work/Github/flink/flink-formats/flink-parquet/src/test/java/org/apache/flink/formats/parquet/generated/MapItem.java:[370,51] > cannot find symbol > symbol: method readFieldOrderIfDiff() > location: variable in of type org.apache.avro.io.ResolvingDecoder |
Hi Chesnay: Thanks -- it works perfectly now. Le On Mon, Dec 28, 2020 at 9:00 AM Chesnay Schepler <[hidden email]> wrote: Please delete the |
Free forum by Nabble | Edit this page |