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

Support JDK17

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      JDK 17 is the next Java LTS, coming out this September.

      It brings a number of goodies. One of which is the production-ready ZGC (available since JDK15). (as well as the Shenandoah GC, available since JDK15)

      After September 2021, there will be three Java LTS versions: Java 8, Java 11 and Java 17. Java 8 will still be the mainstream SDK in the foreseeable future, so I am not looking to take advantage of the new APIs that are only available in JDK17. This jira aims to support HBase on all three JDK LTS.

      Porting HBase to JDK17 is not a big hurdle. HBase (master branch) builds successfully on JDK17. A few tests fail mostly due to the new (more strict) Java module isolation enforcement. I have a small PoC that I will post here in the coming days.

      What I am trying to achieve is to add an experimental support for JDK17. It will be interesting to benchmark HBase on ZGC and Shenandoah and determine if we should set our default GC to them. By then, we'll be able to claim production-ready support.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weichiu Wei-Chiu Chuang
              Votes:
              1 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated: