You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ns...@apache.org on 2011/10/11 04:01:04 UTC
svn commit: r1181351 - /hbase/branches/0.89/bin/hbase-config.sh
Author: nspiegelberg
Date: Tue Oct 11 02:01:03 2011
New Revision: 1181351
URL: http://svn.apache.org/viewvc?rev=1181351&view=rev
Log:
Added JMX Monitoring to ZooKeeper
Modified:
hbase/branches/0.89/bin/hbase-config.sh
Modified: hbase/branches/0.89/bin/hbase-config.sh
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/bin/hbase-config.sh?rev=1181351&r1=1181350&r2=1181351&view=diff
==============================================================================
--- hbase/branches/0.89/bin/hbase-config.sh (original)
+++ hbase/branches/0.89/bin/hbase-config.sh Tue Oct 11 02:01:03 2011
@@ -117,6 +117,7 @@ HBASE_JMX_OPTS="$HBASE_JMX_OPTS -Dcom.su
# HBASE_JMX_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxremote.access.file=$HBASE_HOME/conf/jmxremote.access"
HBASE_MASTER_JMX_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxremote.port=8090"
HBASE_REGIONSERVER_JMX_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxremote.port=8091"
+HBASE_ZOOKEEPER_JMX_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxremote.port=8092"
# YourKit Java Profiling
# Note that you need to have yjpagent.so & yjp.jar on your computer and have
@@ -144,5 +145,5 @@ if [ -z "$HBASE_REGIONSERVER_OPTS" ]; th
export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_DBG_OPTS $HBASE_REGIONSERVER_JMX_OPTS"
fi
if [ -z "$HBASE_ZOOKEEPER_OPTS" ]; then
- export HBASE_ZOOKEEPER_OPTS="$HBASE_ZOOKEEPER_DBG_OPTS"
+ export HBASE_ZOOKEEPER_OPTS="$HBASE_ZOOKEEPER_DBG_OPTS $HBASE_ZOOKEEPER_JMX_OPTS"
fi