[
https://issues.apache.org/jira/browse/HBASE-27734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703009#comment-17703009
]
tianhang tang commented on HBASE-27734:
---------------------------------------
Hi [~mrzhao] , you mean justĀ {quote}unify build with jdk11 argLine in
pom{quote}, but remove them from the shell?
First of all I think if If we can converge these things together, of course it
is the best. But the problem seems at the run-time. We not only need this
configs when compiling, but also at run time. For example, UTs or HBase shell.
So if only setting in pom may not be enough. [JEP
261|https://openjdk.org/jeps/261]
> [JDK17] Backport to branch-2.4 HBASE-25058 HBase-27510
> ------------------------------------------------------
>
> Key: HBASE-27734
> URL: https://issues.apache.org/jira/browse/HBASE-27734
> Project: HBase
> Issue Type: Improvement
> Reporter: Moran
> Priority: Minor
>
> I use jdk17 on branch-2.4ļ¼encountered some WARN like:
> {code:java}
> WARN FilenoUtil : Native subprocess control requires open access to the JDK
> IO subsystem
> Pass '--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens
> java.base/java.io=ALL-UNNAMED' to enable.{code}
> Backport HBASE-25058 and HBASE-27510 PR can resolve the warn problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)