You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2021/01/08 17:52:00 UTC
[jira] [Commented] (HBASE-25485) Nightly build uses JDK11 for
branch-2.2
[ https://issues.apache.org/jira/browse/HBASE-25485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17261483#comment-17261483 ]
Peter Somogyi commented on HBASE-25485:
---------------------------------------
The /usr/lib/jvm/java-8-openjdk-amd64 does not exist in the used docker image. By default JAVA_HOME is set to /usr/local/openjdk-8.
> 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
> 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)