Nihal Jain created HBASE-20394:
----------------------------------
Summary: HBase over rides the value of HBASE_OPTS (if any) set by
client
Key: HBASE-20394
URL: https://issues.apache.org/jira/browse/HBASE-20394
Project: HBase
Issue Type: Bug
Reporter: Nihal Jain
Currently HBase will over ride the value of HBASE_OPTS (if any) set by client
[
{code:java}
export HBASE_OPTS="-XX:+UseConcMarkSweepGC"{code}
|
https://github.com/apache/hbase/blob/68726b0ee3ef3eb52d32481444e64236c5a9e733/conf/hbase-env.sh#L43
]
For example a client may have the following set in his environment:
{code:java}
HBASE_OPTS="-Xmn512m"{code}
While starting the processes, HBase will internally over-ride the existing
HBASE_OPTS value with the one set in hbase-env.sh.
Instead of overriding we can have the folowing in hbase-env.sh:
{code:java}
export HBASE_OPTS="$HBASE_OPTS -XX:+UseConcMarkSweepGC"{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)