Hi Adam, We run Hbase 2.5.12 with Java17. We use a rather small heap size, because we rely on off heap read(bucket cache) and off heap write paths. Apart from the defaults our hbase-env.sh contains just the very basics for G1GC export HBASE_REGIONSERVER_OPTS="-XX:+UseG1GC -XX:MaxGCPauseMillis=50 \ -Xms4G -Xmx4G \ $HBASE_REGIONSERVER_OPTS"
and also "export HBASE_OFFHEAPSIZE" in our case. Best, On Fri, Aug 29, 2025 at 12:52 PM Adam Sjøgren <a...@novonesis.com.invalid> wrote: > Hi, > > > We are upgrading our HBase installation from 2.5.8 to 2.5.12 soon, and > while I am at it, I thought I'd switch from openjdk-8 to openjdk-17 as > well. > > Has anyone got tips for configuring Java 17 for HBase? > > The configuration we are currently using has a reference to a Cloudera > article from 2014: > > http://blog.cloudera.com/blog/2014/12/tuning-java-garbage-collection-for-hbase/ > :-) > > For our test setup I have just taken the same parameters we are using > for Solr on Java 17. > > > Best regards, > > Adam > > -- > "No more than that, but very powerful all the Adam Sjøgren > same; simple things are good." a...@novonesis.com > > -- [image: NOTO] <https://notolytix.com/> Atanas Dimitrov *Senior DevOps* m: +359 888 675769 e: atanas.dimit...@noto360.com w: notolytix.com [image: LinkedIn] <https://www.linkedin.com/company/notolytix-ltd/> [image: Twitter] <https://twitter.com/notolytix> [image: Facebook] <https://facebook.com/notolytix/> [image: YouTube] <https://www.youtube.com/playlist?list=PL73ML6RUXLXntd-M5umOnt_1frPiH8aFt>