mcagriaktas commented on issue #12846:
URL: https://github.com/apache/iceberg/issues/12846#issuecomment-2832635916

   Hello,
   
   flink=1.20.0
   iceberg=1.8.1
   
   If you get the error:
   ```text
   Caused by: java.lang.ClassCastException: class 
org.apache.iceberg.shaded.org.apache.parquet.schema.MessageType cannot be cast 
to class org.apache.parquet.schema.MessageType 
(org.apache.iceberg.shaded.org.apache.parquet.schema.MessageType and
   ```
   
   I faced the same issue during my Flink Iceberg deployment because both 
iceberg-flink-1.20 and iceberg-flink-runtime-1.20 JARs were present in my Flink 
cluster at the same time. After I removed the iceberg-flink-1.20 JAR and only 
kept iceberg-flink-runtime-1.20, the error disappeared!
   
   ```text
   wget -q 
https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-flink-runtime-1.20/$ICEBERG_VERSION/iceberg-flink-runtime-1.20-$ICEBERG_VERSION.jar
 -P $FLINK_LIB_DIR
   # wget -q 
https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-flink-1.20/$ICEBERG_VERSION/iceberg-flink-1.20-$ICEBERG_VERSION.jar
 -P $FLINK_LIB_DIR
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to