[ https://issues.apache.org/jira/browse/HBASE-25485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang resolved HBASE-25485. ------------------------------- Hadoop Flags: Reviewed Resolution: Fixed Merged to branch-2.2. Thanks [~psomogyi]. > Nightly build uses JDK11 for branch-2.2 > --------------------------------------- > > Key: HBASE-25485 > URL: https://issues.apache.org/jira/browse/HBASE-25485 > Project: HBase > Issue Type: Bug > Components: build, jenkins > Affects Versions: 2.2.7 > Reporter: Peter Somogyi > Assignee: Peter Somogyi > Priority: Critical > Fix For: 2.2.7 > > > Nightly build for branch-2.2 is using JDK11 accidentally. Yetus tries to set > JAVA_HOME to JDK8 but the path does not exist and it falls back to JDK11. > {noformat} > [2021-01-07T19:11:14.729Z] WARNING: > JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 does not exist. Dockermode: > attempting to switch to another. > [2021-01-07T19:11:14.729Z] WARNING: Setting > /usr/lib/jvm/java-11-openjdk-amd64 as the JAVA_HOME. {noformat} > With JDK11 there are a lot of compilation errors. -- This message was sent by Atlassian Jira (v8.3.4#803005)