hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3561) OPTS arguments are duplicated
Date Sat, 26 Feb 2011 21:23:58 GMT

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

Hudson commented on HBASE-3561:
-------------------------------

Integrated in HBase-TRUNK #1755 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1755/])
    

> OPTS arguments are duplicated
> -----------------------------
>
>                 Key: HBASE-3561
>                 URL: https://issues.apache.org/jira/browse/HBASE-3561
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tim Sell
>            Assignee: stack
>             Fix For: 0.90.2
>
>         Attachments: HelloWorldAgent.jar, config.txt
>
>
> Some of the command line arguments constructed in the bash scripts are getting duplicated
> Here is what my HMaster process looks like with a ps aux | grep java.
> {code}
> /Library/Java/Home/bin/java 
> -Xmx1000m 
> -ea -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode 
> -ea -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode 
> -ea -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.authenticate=false 
> -Dcom.sun.management.jmxremote.port=10101 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.authenticate=false 
> -Dcom.sun.management.jmxremote.port=10101 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.authenticate=false 
> -Dcom.sun.management.jmxremote.port=10101 
> -Dhbase.log.dir=/Users/tims/workspace/hbase-trunk/bin/../logs 
> -Dhbase.log.file=hbase-tims-master-grassmann.local.log 
> -Dhbase.home.dir=/Users/tims/workspace/hbase-trunk/bin/.. 
> -Dhbase.id.str=tims -Dhbase.root.logger=INFO,DRFA 
> -classpath <blablablablabla>
> org.apache.hadoop.hbase.master.HMaster start
> {code}
> This wouldn't really be a problem except if you try to add a java agent in the hbase-env.sh
like so:
> {code}
> export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS $HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10101
-javaagent:lib/HelloWorldAgent.jar"
> {code}
> It adds the option 3 times and it starts three java agents. My example agent print hello
world once per second, but I end up with three hello world lines per second.
> I attached my HelloWorldAgent.jar to demonstrate.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message