HBASE-1507 iCMS as default JVM
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@784977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
65a2c85f2a
commit
23e370c7d9
|
@ -206,7 +206,6 @@ fi
|
||||||
# and are named like the following: java_pid21612.hprof. Apparently it doesn't
|
# 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:
|
# 'cost' to have this flag enabled. Its a 1.6 flag only. See:
|
||||||
# http://blogs.sun.com/alanb/entry/outofmemoryerror_looks_a_bit_better
|
# 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.dir=$HBASE_LOG_DIR"
|
||||||
HBASE_OPTS="$HBASE_OPTS -Dhbase.log.file=$HBASE_LOGFILE"
|
HBASE_OPTS="$HBASE_OPTS -Dhbase.log.file=$HBASE_LOGFILE"
|
||||||
HBASE_OPTS="$HBASE_OPTS -Dhbase.home.dir=$HBASE_HOME"
|
HBASE_OPTS="$HBASE_OPTS -Dhbase.home.dir=$HBASE_HOME"
|
||||||
|
|
|
@ -31,9 +31,10 @@
|
||||||
# export HBASE_HEAPSIZE=1000
|
# export HBASE_HEAPSIZE=1000
|
||||||
|
|
||||||
# Extra Java runtime options.
|
# Extra Java runtime options.
|
||||||
# Below are what we set by default. For more on why as well as other possible
|
# Below are what we set by default. May only work with SUN JVM.
|
||||||
# settings, see http://wiki.apache.org/hadoop/PerformanceTuning
|
# For more on why as well as other possible settings,
|
||||||
# export HBASE_OPTS="$HBASE_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode"
|
# 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.
|
# File naming hosts on which HRegionServers will run. $HBASE_HOME/conf/regionservers by default.
|
||||||
# export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
|
# export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
|
||||||
|
|
Loading…
Reference in New Issue