[
https://issues.apache.org/jira/browse/HBASE-8926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13706124#comment-13706124
]
Enis Soztutar commented on HBASE-8926:
--------------------------------------
I think it is rather important to supply a decent out-of-the-box experience. If
we do not default to CMS (or G1 later), it will be one more step that the user
has to perform. I would rather have a default, which is easily overridable.
The default substitution does not have to be in hbase-env. We can do that in
hbase-config, which is the logical place.
> Do not set default GC options in hbase-env.sh
> ---------------------------------------------
>
> Key: HBASE-8926
> URL: https://issues.apache.org/jira/browse/HBASE-8926
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.0, 0.95.2, 0.94.10
> Reporter: Andrew Purtell
> Assignee: Andrew Purtell
> Priority: Trivial
> Attachments: 8926.patch
>
>
> Exporting default GC options in HBASE_OPTS from hbase-env.sh by default can
> interfere with some deployment scenarios. We probably shouldn't be doing that.
> Noticed this when using scripts to set up EC2 test clusters for G1 GC. Having
> "-XX:+UseConcMarkSweepGC" on the command line in that case will cause the
> JVMs to fail to launch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira