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

Using JDK17 resulted in regionserver reportForDuty failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • 2.1.1
    • None
    • netty, regionserver, rpc
    • None
    • test environment:

      mem:32G

      hadoop version:2.7.2

      core:40

      hbase version:2.1.1

    Description

      I am currently using HBASE-2.1.1 version to adapt to JDK17 and have encountered some issues: 1) Java. lang. NoSuchFiledException: modifiers; 2) Unable to make static boolean Java.nio Bits.unaligned() accessible: module java.base does not "opens java.nio" to unnamed moudle; 3) Regionserver HRegionServer: error telling master we are up。 Problem 1 is solved through HBASE-25516 [JDK17] reflective access Field. class. getDeclaredField ("modifiers") not supported - ASF JIRA (apache. org). Problem 2 is solved by adding – add open Java. base/Java. lang=ALL-UNNAMED – add open Java. base/Java. lang. reflect=ALL-UNNAMED – add open Java. base/Java. nio=ALL-UNNAMED parameter. However, there is currently no idea for problem 3. How can I handle this. now master is running  normally.

      regionserver:

      master:

      Attachments

        1. image-2024-05-30-17-02-18-965.png
          236 kB
          JianDa Gao
        2. image-2024-05-30-16-23-34-561.png
          159 kB
          JianDa Gao

        Activity

          People

            Unassigned Unassigned
            gjd930523 JianDa Gao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: