IMHO, better to promote JDK21 as officially supported and start deprecating support of older JDK versions. So if we’re going to roll off a platform due to lack of resourcing, better the old stuff.
Thanks, Nick On Wed, 1 Oct 2025 at 08:22, Istvan Toth <[email protected]> wrote: > With HBASE-29614 merged, my local Java 21 test runs are green. > (TestThreadHandlerUsageQuota is failing, but that one also fails with Java > 17 on my machines) > > The next step is adding tests to run with JDK21. > > Given our limited CI resources what do you suggest ? > > Should we add Java 21 for the PR runs ? > Or would adding Java 21 to the nightlies be enough ? > > > > On Tue, Aug 26, 2025 at 5:58 PM Daniel Roudnitsky (BLOOMBERG/ 919 3RD A) < > [email protected]> wrote: > > > > > Do we want to support java 21 for 2.x? > > > > > > > > > I think we do, we already support Java 17 on 2.x, backporting the Java > 21 > > > changes should be no problem. > > > > Agreed would be great to have on 2.x > > > > > I'm really not looking forward to touching the Jenkinsfiles again, it > > would> be great if you could help with those > > > once we have the fixes in. > > > > > Of course you're welcome to work on the other issues. > > > I've opened https://issues.apache.org/jira/browse/HBASE-29546 to track > > the > > > work, and will be adding child tickets for the issues I find > > > > Happy to help out with jenkins when the time comes , and I'll try to pick > > up a child ticket in the meantime. > > > > > > From: [email protected] At: 08/26/25 02:10:24 UTC-4:00To: > > [email protected] > > Subject: Re: Java 21 support > > > > On Mon, Aug 25, 2025 at 5:13 PM 张铎(Duo Zhang) <[email protected]> > > wrote: > > > > > Do we want to support java 21 for 2.x? > > > > > > > > I think we do, we already support Java 17 on 2.x, backporting the Java 21 > > changes should be no problem. > > > > > > > For 3.x and above I think we should add java 21 support, but I prefer > > > we start the work after we finish the 3.0.0 release, as this may > > > introduce a bunch of new works which may delay the release... > > > > > > > Yes, I was a bit premature in starting this thread. > > I've just run the tests, and there are few reflection and test issues > with > > Java 21. > > > > Also, as of Hadoop 3.4.1 it needs -Djava.security.manager=allow to work > > with Java 21. > > It is fixed on trunk, and there is ongoing discussion on backporting it > to > > the imminent Hadoop 3.4.2 release. > > > > I'm gonna start working on this, then follow up here once we have a clean > > Java 21 test run. > > > > Istvan > > > > > > > > > > Thanks. > > > > > > Daniel Roudnitsky (BLOOMBERG/ 919 3RD A) <[email protected]> > > > 于2025年8月25日周一 22:44写道: > > > > > > > > +1 for JDK21 tests and formal support , happy to provide a hand > there. > > > > > > > > JDK21 generational ZGC is particularly attractive > > > > > > > Thank you. > > We've solved most of these issues for Hadoop, I expect we can get > inspired > > by those. > > > > I'm really not looking forward to touching the Jenkinsfiles again, it > would > > be great if you could help with those > > once we have the fixes in. > > > > Of course you're welcome to work on the other issues. > > I've opened https://issues.apache.org/jira/browse/HBASE-29546 to track > the > > work, and will be adding child tickets for the issues I find > > > > > > > > > From: [email protected] At: 08/25/25 00:44:22 UTC-4:00To: > > > [email protected] > > > > Subject: Java 21 support > > > > > > > > Hi! > > > > > > > > I was looking at supporting recent Java versions. > > > > > > > > While JDK 22 has hard breaking changes, and support for Java 22+ is > > > > dependent on Hadoop (hopefully the upcoming 3.5.0 release), I am not > > > aware > > > > of major breaking changes between Java 17 and 21. > > > > > > > > IMO we should add Java 21 tests (and fix any issued found) to our > > Jenkins > > > > test and start formally supporting it in Hbase. > > > > > > > > WDYT ? > > > > > > > > Istvan. > > > > > > > > > > > > > > > > > -- > > *István Tóth* | Sr. Staff Software Engineer > > *Email*: [email protected] > > cloudera.com <https://www.cloudera.com> > > [image: Cloudera] <https://www.cloudera.com/> > > [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: > > Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: > Cloudera > > on LinkedIn] <https://www.linkedin.com/company/cloudera> > > ------------------------------ > > ------------------------------ > > > > > > > > -- > *István Tóth* | Sr. Staff Software Engineer > *Email*: [email protected] > cloudera.com <https://www.cloudera.com> > [image: Cloudera] <https://www.cloudera.com/> > [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: > Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera > on LinkedIn] <https://www.linkedin.com/company/cloudera> > ------------------------------ > ------------------------------ >
