> > 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: dev@hbase.apache.org At: 08/26/25 02:10:24 UTC-4:00To: dev@hbase.apache.org Subject: Re: Java 21 support On Mon, Aug 25, 2025 at 5:13 PM 张铎(Duo Zhang) <palomino...@gmail.com> 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) <droudnits...@bloomberg.net> > 于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: dev@hbase.apache.org At: 08/25/25 00:44:22 UTC-4:00To: > dev@hbase.apache.org > > 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*: st...@cloudera.com 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> ------------------------------ ------------------------------