From 23e370c7d979298a2f981e073a37e14b35efa86e Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 15 Jun 2009 21:07:36 +0000 Subject: [PATCH] HBASE-1507 iCMS as default JVM git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@784977 13f79535-47bb-0310-9956-ffa450edef68 --- bin/hbase | 1 - conf/hbase-env.sh | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/hbase b/bin/hbase index 81d5e10e427..f079b301ece 100755 --- a/bin/hbase +++ b/bin/hbase @@ -206,7 +206,6 @@ fi # and are named like the following: java_pid21612.hprof. Apparently it doesn't # 'cost' to have this flag enabled. Its a 1.6 flag only. See: # http://blogs.sun.com/alanb/entry/outofmemoryerror_looks_a_bit_better -HBASE_OPTS="$HBASE_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode" HBASE_OPTS="$HBASE_OPTS -Dhbase.log.dir=$HBASE_LOG_DIR" HBASE_OPTS="$HBASE_OPTS -Dhbase.log.file=$HBASE_LOGFILE" HBASE_OPTS="$HBASE_OPTS -Dhbase.home.dir=$HBASE_HOME" diff --git a/conf/hbase-env.sh b/conf/hbase-env.sh index 352cb2c2b70..4d20dc62703 100644 --- a/conf/hbase-env.sh +++ b/conf/hbase-env.sh @@ -31,9 +31,10 @@ # export HBASE_HEAPSIZE=1000 # Extra Java runtime options. -# Below are what we set by default. For more on why as well as other possible -# settings, see http://wiki.apache.org/hadoop/PerformanceTuning -# export HBASE_OPTS="$HBASE_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode" +# Below are what we set by default. May only work with SUN JVM. +# For more on why as well as other possible settings, +# see http://wiki.apache.org/hadoop/PerformanceTuning +export HBASE_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode" # File naming hosts on which HRegionServers will run. $HBASE_HOME/conf/regionservers by default. # export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers