Re: [DISCUSS] Use java11 for general checks in pre commit and nightly

2022-11-08 Thread Duo Zhang
Oh, there is a problem for branch-2.x as we still need to support hadoop2, but in our pom, when building with java 11, we add an enforcer rule to force using hadoop-3.0 profile. I think for hadoop 2.10.2, it is OK to compile and run with jdk11 since we do not need to compile hadoop itself. Let me

Re: [DISCUSS] Use java11 for general checks in pre commit and nightly

2022-11-07 Thread Duo Zhang
Will merge the PR today if there are no big concerns. Thanks. 张铎(Duo Zhang) 于2022年11月1日周二 23:14写道: > > I've put up a PR for HBASE-27443, to change the version of the jdk for > our general checks to 11. > > https://github.com/apache/hbase/pull/4845 > > This could be good progress on moving up to

[DISCUSS] Use java11 for general checks in pre commit and nightly

2022-11-01 Thread Duo Zhang
I've put up a PR for HBASE-27443, to change the version of the jdk for our general checks to 11. https://github.com/apache/hbase/pull/4845 This could be good progress on moving up to jdk11, as we have discussed dropping jdk8 support for maybe HBase 4.0. And we could also bump the version of error