You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2012/10/10 01:12:19 UTC
svn commit: r1396399 - /hbase/trunk/conf/hbase-env.sh
Author: tedyu
Date: Tue Oct 9 23:12:18 2012
New Revision: 1396399
URL: http://svn.apache.org/viewvc?rev=1396399&view=rev
Log:
HBASE-6940 Enable GC logging by default
Modified:
hbase/trunk/conf/hbase-env.sh
Modified: hbase/trunk/conf/hbase-env.sh
URL: http://svn.apache.org/viewvc/hbase/trunk/conf/hbase-env.sh?rev=1396399&r1=1396398&r2=1396399&view=diff
==============================================================================
--- hbase/trunk/conf/hbase-env.sh (original)
+++ hbase/trunk/conf/hbase-env.sh Tue Oct 9 23:12:18 2012
@@ -36,11 +36,10 @@
# see http://wiki.apache.org/hadoop/PerformanceTuning
export HBASE_OPTS="$HBASE_OPTS -XX:+UseConcMarkSweepGC"
-# Uncomment below to enable java garbage collection logging in the .out file.
-# export HBASE_OPTS="$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps $HBASE_GC_OPTS"
+export HBASE_USE_GC_LOGFILE=true
-# Uncomment below (along with above GC logging) to put GC information in its own logfile (will set HBASE_GC_OPTS)
-# export HBASE_USE_GC_LOGFILE=true
+# Comment below to disable java garbage collection logging
+export HBASE_OPTS="$HBASE_OPTS -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps $HBASE_GC_OPTS"
# Uncomment below if you intend to use the EXPERIMENTAL off heap cache.