umehrot2 edited a comment on issue #2592: URL: https://github.com/apache/hudi/issues/2592#issuecomment-790955939
@codejoyan I think the problem stems because you are using `org.apache.spark:spark-avro_2.11:2.4.4` in you packages with spark-submit. This is incompatible with `spark-sql 2.3.0` that is why you get that `NoSuchMethod` exception. What happens if you use `databricks-avro` package instead of `spark-avro`: https://mvnrepository.com/artifact/com.databricks/spark-avro ? Can you give that a shot ? Also @bvaradar is right. When you build your Hudi and use databricks-avro package, please build you Hudi with `-Pspark-shade-unbundle-avro` to avoid bundling/shading of spark-avro module in hudi-spark-bundle. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org