[
https://issues.apache.org/jira/browse/HIVE-28665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905339#comment-17905339
]
Butao Zhang commented on HIVE-28665:
------------------------------------
Tried to to change iceberg version to 1.7.1 and build against with Hive master
branch & Jdk1.8, but JDK incompatibility exception occurs:
{code:java}
INFO] Patched Iceberg API ................................ SUCCESS [ 0.623 s]
[INFO] Patched Iceberg Core ............................... FAILURE [ 1.224 s]
[INFO] Hive Iceberg Shading ............................... SKIPPED
[INFO] Hive Iceberg Catalog ............................... SKIPPED
[INFO] Hive Iceberg Handler ............................... SKIPPED
[INFO] Hive Kafka Storage Handler ......................... SKIPPED
[INFO] Hive Packaging ..................................... SKIPPED
[INFO] Hive Metastore Tools ............................... SKIPPED
[INFO] Hive Metastore Tools common libraries .............. SKIPPED
[INFO] Hive metastore benchmarks .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:19 min
[INFO] Finished at: 2024-12-13T09:36:22+08:00
[INFO] ------------------------------------------------------------------------
[INFO] 825 goals, 818 executed, 7 from cache, saving at least 3s
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project patched-iceberg-core: Compilation failure
[ERROR]
/data/codesrc/hiveforkdev/hive/iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/hadoop/HadoopTableOperations.java:[37,26]
cannot access org.apache.iceberg.LocationProviders
[ERROR] bad class file:
/data/codesrc/hiveforkdev/hive/iceberg/patched-iceberg-core/target/classes/org/apache/iceberg/LocationProviders.class
[ERROR] class file has wrong version 55.0, should be 52.0
[ERROR] Please remove or make sure it appears in the correct subdirectory
of the classpath.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :patched-iceberg-core
{code}
*This is because Apache Iceberg has been using jdk11 & jdk17 since 1.7.x
version. We need to wait for Hive to complete the* *JDK17* *upgrade
(HIVE-26473).*
> Iceberg: Upgrade iceberg version to 1.7.1
> -----------------------------------------
>
> Key: HIVE-28665
> URL: https://issues.apache.org/jira/browse/HIVE-28665
> Project: Hive
> Issue Type: Improvement
> Components: Iceberg integration
> Reporter: Butao Zhang
> Priority: Major
>
> Upgrading Apache iceberg to the latest version 1.7.1.
> HMS catalog support native Iceberg view since 1.7.x
> ([https://github.com/apache/iceberg/pull/9852]), so we can try to backport
> the native Iceberg view feat to Hive 4.1.x.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)