[
https://issues.apache.org/jira/browse/HBASE-8926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705983#comment-13705983
]
Andrew Purtell commented on HBASE-8926:
---------------------------------------
{quote}
{noformat}
DEFAULT_HBASE_OPTS="-XX:+UseConcMarkSweepGC"
HBASE_OPTS=${HBASE_OPTS:-$DEFAULT_HBASE_OPTS}
{noformat}
{quote}
That doesn't address:
1. Every other setting in the default hbase-env.sh seems to serve a documentary
purpose only.
2. One common method for incrementally updating configuration is to do
something effectively like:
{{echo "HBASE_OPTS=\"\$HBASE_OPTS foo\"" >> /etc/hbase/conf/hbase-env.sh}}
but it is better than what we have now.
> 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