You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Sean Busbey (Jira)" <ji...@apache.org> on 2020/04/25 06:09:00 UTC

[jira] [Reopened] (HBASE-24143) [JDK11] Switch default garbage collector from CMS

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

Sean Busbey reopened HBASE-24143:
---------------------------------

reopening. this breaks existing hbase installations on upgrade to 2.3.0.

{code}
busbey-mba13:hbase-2.3.0-SNAPSHOT busbey$ ./bin/start-hbase.sh 
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 184: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 184: : command not found
running master, logging to /Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/../logs/hbase-busbey-master-busbey-mba13.out
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 184: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 174: : command not found
/Users/busbey/Downloads/hbase-2.3.0-SNAPSHOT/bin/hbase-config.sh: line 184: : command not found
{code}

my existing installation has an {{HBASE_CONF_DIR}} that defines an {{hbase-env.sh}} and it did not include the new definitions for GREP and SED added by this change, so those commands just fail.

We should comment out their addition in the sample hbase-env file (but include them to give an explanation on how to set them). We should define defaults in {{hbase-config.sh}}.

> [JDK11] Switch default garbage collector from CMS
> -------------------------------------------------
>
>                 Key: HBASE-24143
>                 URL: https://issues.apache.org/jira/browse/HBASE-24143
>             Project: HBase
>          Issue Type: Sub-task
>          Components: scripts
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> When running HBase tools on the cli, one of the warnings generated is
> {noformat}
> OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
> {noformat}
> Java9+ use G1GC as the default collector. Maybe we simply omit GC configurations and use the default settings? Or someone has some suggested settings we can ship out of the box?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)