高建达 created HBASE-28629:
---------------------------
Summary: 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: 高建达
Attachments: image-2024-05-30-16-23-34-561.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.
!image-2024-05-30-16-23-34-561.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)