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

Elliott Clark commented on HBASE-8926:
--------------------------------------

Can't we just set HBASE_OPTS something like:
{code}
DEFAULT_HBASE_OPTS="-XX:+UseConcMarkSweepGC"
HBASE_OPTS=${HBASE_OPTS:-$DEFAULT_HBASE_OPTS}
{code}
                
> 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

Reply via email to