izhangzhihao / Real-time-Data-Warehouse

Real-time Data Warehouse with Apache Flink & Apache Kafka & Apache Hudi
109 stars 42 forks source link

While inserting data in hudi getting this error #5

Closed HarjeetSinghGoldy closed 1 year ago

HarjeetSinghGoldy commented 1 year ago

[INFO] Submitting SQL update statement to the cluster... [ERROR] Could not execute SQL statement. Reason: java.lang.ClassCastException: class org.codehaus.janino.CompilerFactory cannot be cast to class org.codehaus.commons.compiler.ICompilerFactory (org.codehaus.janino.CompilerFactory is in unnamed module of loader org.apache.flink.util.ChildFirstClassLoader @fd8294b; org.codehaus.commons.compiler.ICompilerFactory is in unnamed module of loader 'app')

HarjeetSinghGoldy commented 1 year ago

I have resolved this by update the flink version and relative jars