Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Does a major compact flush memstore?


Copy link to this message
-
RE: Does a major compact flush memstore?
I tried both hbase shell's major_compact cmd and java api HBaseAdmin.majorCompact() on table name.
They don't flush the memstore on to disk, compact cmd seems not doing that too.

I hadn't read enough related code, While I am wondering, is that because there are size threshold before a memstore is flushed? Then a user invoked compact don't force to flush it?

Best Regards,
Raymond Liu

>
> Did you try from java api?  If flush does not happen we may need to fix it.
>
> Regards
> RAm
>
> On Tue, Mar 12, 2013 at 1:04 PM, Liu, Raymond <[EMAIL PROTECTED]>
> wrote:
>
> > It seems to me that a major_compact table command from hbase shell do
> > not fush memstore?  When I done with major compact, still some data in
> > memstore and will be flush out to disk when I shut down hbase cluster.
> >
> > Best Regards,
> > Raymond Liu
> >
> >
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB