geyanggang opened a new pull request, #15019:
URL: https://github.com/apache/gravitino/pull/15019

   ### What changes were proposed in this pull request?
   - Update `kerby` from 2.0.3 to 2.1.2 in `gradle/libs.versions.toml`.
   - Remove the `JSch` entry from `LICENSE.iceberg`, since it is no longer 
bundled in the Iceberg REST server package.
   - Remove the `[email protected]` purl from the 
`.github/trivy/trivyignore.yaml` entry. The `1.0.1` purl stays, it is a copy 
shaded inside `hadoop-client-runtime`.
   
   ### Why are the changes needed?
   Keep Kerby on its latest release. Kerby is used by `server-common` 
(`KerberosServerUtils`) and `iceberg-common`.
   
   Compared with the current `main`, the `runtimeClasspath` of `:server`, 
`:iceberg:iceberg-rest-server` and `:catalogs:catalog-lakehouse-iceberg` 
changes only in:
   - all `org.apache.kerby` modules 2.0.3 -> 2.1.2
   - `nimbus-jose-jwt` 10.9 -> 10.9.1
   - `commons-io` -> 2.22.0 (was 2.18.0 on `:server`, 2.20.0 on the Iceberg 
modules)
   - `com.jcraft:jsch` 0.1.55 removed
   - `org.jline:jline` 3.22.0 -> 3.30.6 on `:server` only. It is already 
excluded from the Iceberg modules, and #15003 excludes it from the server 
package.
   
   `LICENSE.bin` keeps `JSch`, because `catalog-lakehouse-paimon` still brings 
it.
   
   Fix: #15018
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   - Compared the `runtimeClasspath` of `:server`, 
`:iceberg:iceberg-rest-server`, `:catalogs:catalog-lakehouse-iceberg`, 
`:lance:lance-rest-server` and `:clients:client-java` before and after: only 
the changes listed above.
   - `:server-common:test` (619 tests, including `TestKerberosAuthenticator`, 
which runs a real KDC) passes with Kerby 2.1.2.
   - `:clients:filesystem-hadoop3:test --tests '*TestKerberosClient'` passes.
   - `./gradlew spotlessCheck :iceberg:iceberg-common:test 
:iceberg:iceberg-rest-server:test :catalogs:catalog-lakehouse-iceberg:test 
:server:test -PskipITs` passes.
   - `.github/trivy/scan.sh check-exemptions` and `node --test 
.github/scripts/tests/*.test.cjs` pass.


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

Reply via email to