Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> flushing + compactions after config change


Copy link to this message
-
Re: 答复: flushing + compactions after config change
Hi Viral,
the following are all needed for CMS:

-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=70
-XX:+UseCMSCompactAtFullCollection
-XX:CMSFullGCsBeforeCompaction=0
-XX:+CMSClassUnloadingEnabled
-XX:CMSMaxAbortablePrecleanTime=300
-XX:+CMSScavengeBeforeRemark

and if your JDK version is greater than 1.6.23, then add :
-XX:+UseCompressedOops
-XX:SoftRefLRUPolicyMSPerMB=0
and you'd better add GC log
-verbose:gc
-XX:+PrintGCDateStamps
-XX:+PrintGCDetails
-Xloggc:$HBASE_LOG_DIR/gc.log

if your JDK version is greater than 1.6.23, then add :
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=9
-XX:GCLogFileSize=20m

Hope that helpful.

On Fri, Jun 28, 2013 at 5:06 AM, Viral Bajaria <[EMAIL PROTECTED]>wrote:

> Thanks Azuryy. Look forward to it.
>
> Does DEFERRED_LOG_FLUSH impact the number of WAL files that will be created
> ? Tried looking around but could not find the details.
>
> On Thu, Jun 27, 2013 at 7:53 AM, Azuryy Yu <[EMAIL PROTECTED]> wrote:
>
> > your JVM options arenot enough. I will give you some detail when I go
> back
> > office tomorrow.
> >
> > --Send from my Sony mobile.
> >
>