[ 
https://issues.apache.org/jira/browse/HBASE-28629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth resolved HBASE-28629.
---------------------------------
    Resolution: Information Provided

Hbase 2.1.1 has been end of life for a long time.

Use an active release, like 2.5 or 2.6.

> Using JDK17 resulted in regionserver reportForDuty failing
> ----------------------------------------------------------
>
>                 Key: HBASE-28629
>                 URL: https://issues.apache.org/jira/browse/HBASE-28629
>             Project: HBase
>          Issue Type: Bug
>          Components: netty, regionserver, rpc
>    Affects Versions: 2.1.1
>         Environment: test environment:
> mem:32G
> hadoop version:2.7.2
> core:40
> hbase version:2.1.1
>            Reporter: 高建达
>            Priority: Major
>         Attachments: image-2024-05-30-16-23-34-561.png, 
> image-2024-05-30-17-00-45-266.png, image-2024-05-30-17-02-18-965.png
>
>
> 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:
> !image-2024-05-30-16-23-34-561.png!
> master:
> !image-2024-05-30-17-02-18-965.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to