Dmitry Lysnichenko created AMBARI-8070:
------------------------------------------

             Summary: Ambari is exporting values in hbase-env.sh twice
                 Key: AMBARI-8070
                 URL: https://issues.apache.org/jira/browse/AMBARI-8070
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 1.7.0


I see following in hbase-env.sh
{noformat}
export HBASE_OPTS="-XX:+UseConcMarkSweepGC 
-XX:ErrorFile=/grid/0/log/hbase/hs_err_pid%p.log"
export SERVER_GC_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps 
-Xloggc:/grid/0/log/hbase/gc.log-`date +'%Y%m%d%H%M'`"
# Uncomment below to enable java garbage collection logging.
# export HBASE_OPTS="$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGCDateStamps -Xloggc:$HBASE_HOME/logs/gc-hbase.log"

# Uncomment and adjust to enable JMX exporting
# See jmxremote.password and jmxremote.access in $JRE_HOME/lib/management to 
configure remote password access.
# More details at: 
http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html
#
# export HBASE_JMX_BASE="-Dcom.sun.management.jmxremote.ssl=false 
-Dcom.sun.management.jmxremote.authenticate=false"
# If you want to configure BucketCache, specify '-XX: MaxDirectMemorySize=' 
with proper direct memory size
export HBASE_MASTER_OPTS="-Xmx1024m"
export HBASE_REGIONSERVER_OPTS="-Xmn512m -XX:CMSInitiatingOccupancyFraction=70  
-Xms4096m -Xmx4096m"
..


export HBASE_OPTS="$HBASE_OPTS 
-Djava.security.auth.login.config=/etc/hbase/conf/hbase_client_jaas.conf"
export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS 
-Djava.security.auth.login.config=/etc/hbase/conf/hbase_master_jaas.conf"
export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS 
-Djava.security.auth.login.config=/etc/hbase/conf/hbase_regionserver_jaas.conf"
{noformat}

This is resulting iin  $HBASE_OPTS is not getting appended when HBASE_OPTS is 
exported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to