[ 
https://issues.apache.org/jira/browse/HBASE-28383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867086#comment-17867086
 ] 

Nihal Jain commented on HBASE-28383:
------------------------------------

Hi [~zhangduo] Sorry I was away for a long while and could not reply earlier. 
Please let me know if you need any help with this, may be for reviews. 

> [JDK17] Update hbase-env.sh with alternates to JVM flags which are no longer 
> supported
> --------------------------------------------------------------------------------------
>
>                 Key: HBASE-28383
>                 URL: https://issues.apache.org/jira/browse/HBASE-28383
>             Project: HBase
>          Issue Type: Sub-task
>          Components: java, scripts
>            Reporter: Nihal Jain
>            Assignee: Duo Zhang
>            Priority: Major
>
> Some JVM flags like {{{}-XX:+PrintGCDetails{}}}, {{-XX:+PrintGCDateStamps}} 
> etc. are no longer supported with JDK 17 and hbase would fail to start if 
> these are passed. 
> We should do an audit and update 
> [https://github.com/apache/hbase/blob/master/conf/hbase-env.sh] to capture 
> alternate/fix. 
> Will refer following for a fix/repalacement:
>  * 
> [https://stackoverflow.com/questions/54144713/is-there-a-replacement-for-the-garbage-collection-jvm-args-in-java-11]
>  * 
> [https://docs.oracle.com/javase/9/tools/java.htm#GUID-BE93ABDC-999C-4CB5-A88B-1994AAAC74D5__CONVERTGCLOGGINGFLAGSTOXLOG-A5046BD1]



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

Reply via email to