Hello Kudu Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/24293

to look at the new patch set (#2).

Change subject: [wip][java] Add JDK25 support
......................................................................

[wip][java] Add JDK25 support

Important: This change should not break JDK17 compatibility

This is a POC change for adding JDK25 support.

In this change:
* Reworked FakeDNS internals to handle newer JDK resolver
  internals via reflection fallback paths.
* Spark KuduContext - Subject lookup now prefers newer
  JDK-compatible access (Subject.current() via reflection),
  with fallback for older JDK paths.
* Hadoop version is on 3.4.3 (contains newer JAAS/Subject
  compatibility fixes needed).
* Adds explicit hadoop-client-api and hadoop-client-runtime
  dependencies used to make Spark modules use JDK-25-safe
  Hadoop client bits. Also adding force directives for deps
  resolution.
* Problematic test updates (TestSEcurity and TestMiniKuduCluster)

Note: testing was done manually on local machine using JDK25.

TODO:
* review new build/testtime warnings []
* confirm if there are other workarounds than using reflection
  for keeping backwards compatibility (e.g. Subject lookup) []

Change-Id: I9d3835c9289ac9817c39a86b7be22a28818c5bb0
---
M java/build.gradle
M java/gradle/dependencies.gradle
M java/kudu-client/src/test/java/org/apache/kudu/client/TestSecurity.java
M java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala
M java/kudu-test-utils/src/main/java/org/apache/kudu/test/cluster/FakeDNS.java
M 
java/kudu-test-utils/src/test/java/org/apache/kudu/test/TestMiniKuduCluster.java
6 files changed, 118 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/93/24293/2
--
To view, visit http://gerrit.cloudera.org:8080/24293
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9d3835c9289ac9817c39a86b7be22a28818c5bb0
Gerrit-Change-Number: 24293
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Chovan <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to