You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Mark <st...@gmail.com> on 2011/11/30 01:49:05 UTC

Flushing memstore

Before shutting down a regionserver should one flush the memstore or is 
this automatically handled? If not, how would one manually flush it?

I also noticed the graceful_stop script but it appears not to work with 
the Cloudera CDH3 distribution. Any reason for this?

Thanks

Re: Flushing memstore

Posted by Mark <st...@gmail.com>.
Thanks

On 11/29/11 6:02 PM, Jean-Daniel Cryans wrote:
> It's handled by the region server when it closes each region.
>
> J-D
>
> On Tue, Nov 29, 2011 at 4:49 PM, Mark<st...@gmail.com>  wrote:
>> Before shutting down a regionserver should one flush the memstore or is this
>> automatically handled? If not, how would one manually flush it?
>>
>> I also noticed the graceful_stop script but it appears not to work with the
>> Cloudera CDH3 distribution. Any reason for this?
>>
>> Thanks

Re: Flushing memstore

Posted by Jean-Daniel Cryans <jd...@apache.org>.
It's handled by the region server when it closes each region.

J-D

On Tue, Nov 29, 2011 at 4:49 PM, Mark <st...@gmail.com> wrote:
> Before shutting down a regionserver should one flush the memstore or is this
> automatically handled? If not, how would one manually flush it?
>
> I also noticed the graceful_stop script but it appears not to work with the
> Cloudera CDH3 distribution. Any reason for this?
>
> Thanks

Re: Flushing memstore

Posted by Jonathan Hsieh <jo...@cloudera.com>.
Hey Mark,

I've filed an issue on the CDH jira since this may be CDH-specific.  Can
you fill more details so we can investigate?

https://issues.cloudera.org/browse/DISTRO-353

Thanks,
Jon.

On Tue, Nov 29, 2011 at 4:49 PM, Mark <st...@gmail.com> wrote:

> Before shutting down a regionserver should one flush the memstore or is
> this automatically handled? If not, how would one manually flush it?
>
> I also noticed the graceful_stop script but it appears not to work with
> the Cloudera CDH3 distribution. Any reason for this?
>
> Thanks
>



-- 
// Jonathan Hsieh (shay)
// Software Engineer, Cloudera
// jon@cloudera.com

RE: Flushing memstore

Posted by Ramkrishna S Vasudevan <ra...@huawei.com>.
Hi Mark

Before shutting down a region server the memstore flush will automatically
happen provided it is a clean shutdown.

If you want to manually flush you can use the hbase shell command

flush 'regionname' or flush 'tablename'.

Reg, CDH version i am not aware of . 

Regards
Ram


-----Original Message-----
From: Mark [mailto:static.void.dev@gmail.com] 
Sent: Wednesday, November 30, 2011 6:19 AM
To: user@hbase.apache.org
Subject: Flushing memstore

Before shutting down a regionserver should one flush the memstore or is 
this automatically handled? If not, how would one manually flush it?

I also noticed the graceful_stop script but it appears not to work with 
the Cloudera CDH3 distribution. Any reason for this?

Thanks