LanstonWu opened a new issue, #14911: URL: https://github.com/apache/iceberg/issues/14911
### Query engine I use iceberg-hive-runtime in Hive ### Question My environment is: JDK 1.8.0_291, Hadoop 3.1.0, Hive 3.1.3, and Iceberg 1.6.1. I want to use iceberg-hive-runtime in Hive, so I got the source code from GitHub and compiled it using the following commands: ` ./gradlew clean build -x generateGitProperties -x test -x spotlessJavaCheck -x integrationTest ` Everything works fine, but when I use it in Hive, I get an error (NoClassDefFound Error Could not initialize class org.apache.iceberg.mr.hive.serde.objectinspector.IcebergObjectInspector), which I think is because some classes are missing. Then I downloaded the JAR file from the Maven repository (https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-hive-runtime/1.6.1/iceberg-hive-runtime-1.6.1.jar) and used it in Hive without encountering any errors. I compared the two JAR files and found that my compiled JAR file was missing some classes, such as HiveIcebergVectorizedRecordReader. I don't know why, am I missing something? <img width="1237" height="112" alt="Image" src="https://github.com/user-attachments/assets/0d59e28e-394f-43cf-9c69-3282edd48da9" /> <img width="931" height="129" alt="Image" src="https://github.com/user-attachments/assets/a52b1b80-85ce-41c9-9c53-c2a10e9ed2f9" /> -- 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]
