Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DA9C792C for ; Tue, 11 Oct 2011 02:01:27 +0000 (UTC) Received: (qmail 29667 invoked by uid 500); 11 Oct 2011 02:01:27 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 29650 invoked by uid 500); 11 Oct 2011 02:01:27 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 29643 invoked by uid 99); 11 Oct 2011 02:01:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 02:01:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Oct 2011 02:01:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B16D52388962 for ; Tue, 11 Oct 2011 02:01:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1181351 - /hbase/branches/0.89/bin/hbase-config.sh Date: Tue, 11 Oct 2011 02:01:04 -0000 To: commits@hbase.apache.org From: nspiegelberg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111011020104.B16D52388962@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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