You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2010/01/22 18:57:53 UTC

svn commit: r902193 - /hadoop/hbase/branches/0.20/conf/hbase-env.sh

Author: stack
Date: Fri Jan 22 17:57:53 2010
New Revision: 902193

URL: http://svn.apache.org/viewvc?rev=902193&view=rev
Log:
HBASE-2152 Add default jmxremote.{access|password} files into conf

Modified:
    hadoop/hbase/branches/0.20/conf/hbase-env.sh

Modified: hadoop/hbase/branches/0.20/conf/hbase-env.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/conf/hbase-env.sh?rev=902193&r1=902192&r2=902193&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/conf/hbase-env.sh (original)
+++ hadoop/hbase/branches/0.20/conf/hbase-env.sh Fri Jan 22 17:57:53 2010
@@ -39,10 +39,11 @@
 # Uncomment below to enable java garbage collection logging.
 # export HBASE_OPTS="$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:$HBASE_HOME/logs/gc-hbase.log"
 
-# Uncomment and adjust/create "jmxremote.*" to enable JMX exporting
-# export HBASE_JMX_BASE="-Dcom.sun.management.jmxremote.ssl=false"
-# export HBASE_JMX_BASE="$HBASE_JMX_BASE -Dcom.sun.management.jmxremote.password.file=$HBASE_HOME/conf/jmxremote.password"
-# export HBASE_JMX_BASE="$HBASE_JMX_BASE -Dcom.sun.management.jmxremote.access.file=$HBASE_HOME/conf/jmxremote.access"
+# 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"
 # export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS $HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10101"
 # export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS $HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10102"
 # export HBASE_THRIFT_OPTS="$HBASE_THRIFT_OPTS $HBASE_JMX_BASE -Dcom.sun.management.jmxremote.port=10103"