hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1507) iCMS as default JVM
Date Fri, 12 Jun 2009 06:02:07 GMT

     [ https://issues.apache.org/jira/browse/HBASE-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack resolved HBASE-1507.
--------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

I tested and committed this:

{code}
Index: conf/hbase-env.sh
===================================================================
--- conf/hbase-env.sh	(revision 783986)
+++ conf/hbase-env.sh	(working copy)
@@ -30,8 +30,10 @@
 # The maximum amount of heap to use, in MB. Default is 1000.
 # export HBASE_HEAPSIZE=1000
 
-# Extra Java runtime options.  Empty by default.
-# export HBASE_OPTS=-server
+# 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"
 
 # File naming hosts on which HRegionServers will run.  $HBASE_HOME/conf/regionservers by
default.
 # export HBASE_REGIONSERVERS=${HBASE_HOME}/conf/regionservers
Index: bin/hbase
===================================================================
--- bin/hbase	(revision 783986)
+++ bin/hbase	(working copy)
@@ -206,7 +206,7 @@
 # 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"
+HBASE_OPTS="$HBASE_OPTS -XX:+HeapDumpOnOutOfMemoryError -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode"
 HBASE_OPTS="$HBASE_OPTS -Dhbase.log.dir=$HBASE_LOG_DIR"

{code}

> iCMS as default JVM
> -------------------
>
>                 Key: HBASE-1507
>                 URL: https://issues.apache.org/jira/browse/HBASE-1507
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.20.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message