Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
This PR updates
build.gradleandgradle/libs.versions.tomlto support running Apache Iceberg on Java 25. The existing build was gated to JDK 17 and 21 only, and many dependencies were outdated or incompatible with modern JDK versions.Closes apache#15930
Changes
build.gradlecom.github.johnrengelman:shadow:8.1.1→com.gradleup.shadow:shadow-gradle-plugin:9.4.14.42.0→6.90.06.13.0→8.4.00.7.1→0.7.3com.palantir.gradle.revapi:1.7.0→org.revapi:gradle-revapi:1.8.02.4.1→2.5.73.0.0→4.3.0openapi-generator-gradle-plugin:7.21.0hadoop2tohadoop3arrow-memory-unsafetoiceberg-arrowas an alternative allocator to work around the Arrow/NettyUnsupportedOperationExceptionon Java 25iceberg-pigmodule (not compatible with modern JDKs)iceberg-azure,iceberg-bigquery,iceberg-open-apimodule configurationsuseJUnitPlatform()across all test tasksoptions.release = 17for allJavaCompiletasks-DtestParallelismgradle/libs.versions.toml12.0.1→15.0.21.11.1→1.12.1hadoop2 = 2.7.3→hadoop3 = 3.4.34.1.68.Final→4.2.12.Final0.65.0→0.107.45.9.2→5.14.39.4.43.v20210629→12.1.732.1.1-jre→33.5.0-jre2.14.2→2.21.21.15/1.16/1.17→1.20/2.0/2.1spark34,spark35,spark40,spark41arrow-memory-unsafe,analyticsaccelerator,azuresdk-bom,datasketches,failsafe,kafka,lz4Java,testcontainers-junit-jupiter,testcontainers-minio, and morepig,s3mock-junit5,spring-boot,spring-web,hadoop2,hive3, Flink 1.15–1.17, Tez 0.10Test Plan
./gradlew build -x test./gradlew :iceberg-core:test./gradlew :iceberg-arrow:testExceptionInInitializerErrorunder Java 25Related
sun.misc.Unsafememory-access methods for removal🤖 Generated with Claude Code