Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In pom of flink bundle it specifically defines avro 1.10.0 as its dependency, but this will cause conflicts with some avro generated classes if the project was built with spark3 profile which uses avro 1.11.0.
Example exception:
{{}}
Caused by: java.lang.NoSuchMethodError: org.apache.hudi.org.apache.avro.specific.SpecificRecordBuilderBase.<init>(Lorg/apache/hudi/org/apache/avro/Schema;Lorg/apache/hudi/org/apache/avro/specific/SpecificData;)V
{{}}
We should make avro version consistent across the whole project
Also, in flink bundle we are shading avro version so it doesn't matter which avro Flink is using.
Attachments
Issue Links
- links to