Author: nspiegelberg
Date: Tue Sep 27 01:07:30 2011
New Revision: 1176151

URL: http://svn.apache.org/viewvc?rev=1176151&view=rev
Log:
merge gc logging option from 0.20 based internal branch to trunk based branch

Summary:
merge gc logging option from 0.20 based internal branch to trunk based branch

Test Plan:
bin/start-hbase.sh locally and verified gc-hbase.log got generated.

Ran install-hbase.sh and verified same on cluster tests.

DiffCamp Revision: 117587
Reviewed By: nspiegelberg
CC: nspiegelberg
Revert Plan:
OK

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=1176151&r1=1176150&r2=1176151&view=diff
==============================================================================
--- hbase/branches/0.89/bin/hbase-config.sh (original)
+++ hbase/branches/0.89/bin/hbase-config.sh Tue Sep 27 01:07:30 2011
@@ -68,7 +68,7 @@ do
     break
   fi
 done
- 
+
 # Allow alternate hbase conf dir location.
 HBASE_CONF_DIR="${HBASE_CONF_DIR:-$HBASE_HOME/conf}"
 # List of hbase regions servers.
@@ -122,6 +122,8 @@ HBASE_REGIONSERVER_JMX_OPTS="$HBASE_JMX_
 # export LD_LIBRARY_PATH=/usr/local/hadoop/:$LD_LIBRARY_PATH
 HBASE_YOURKIT_PROFILE="-agentlib:yjpagent"
 
+HBASE_GC_OPTIONS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps 
-Xloggc:$HBASE_HOME/logs/gc-hbase.log"
+
 # Java debugging options.
 # By default, local hbase instances are setup with the remote debugging
 # enabled for the HMaster (which also functions as regionserver) on port 1044


Reply via email to