Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25485

Nightly build uses JDK11 for branch-2.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.7
    • 2.2.7
    • build, jenkins
    • None
    • Reviewed

    Description

      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.

      [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. 

      With JDK11 there are a lot of compilation errors.

      Attachments

        Issue Links

          Activity

            People

              psomogyi Peter Somogyi
              psomogyi Peter Somogyi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: