HBASE-6940 Enable GC logging by default

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1396399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2012-10-09 23:12:18 +00:00
parent 4992d78820
commit e4e704a044
1 changed files with 3 additions and 4 deletions

View File

@ -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.