Shengjie Min 2012-12-04, 15:09
ramkrishna vasudevan 2012-12-04, 15:22
-Re: Hbase memstore manual flush
Kevin O'dell 2012-12-04, 15:23
>From the master node hbase master stop should also flush everything for
On Tue, Dec 4, 2012 at 10:22 AM, ramkrishna vasudevan <
[EMAIL PROTECTED]> wrote:
> HBaseAdmin has a flush() api that accepts the table name. This will ensure
> that the data in memory is flushed.
> On Tue, Dec 4, 2012 at 8:39 PM, Shengjie Min <[EMAIL PROTECTED]> wrote:
> > According to Hbase design, Memstore flush is happened automatically
> > the theme when it reaches the size limit.
> > In my case, I want to do a hdfs migration, migrating hdfs data from one
> > cluster to another using distcp, I need to make sure there is nothing
> > in-memory before I bring down hbase process in the source cluster. Is
> > anyway we can manually force the flush even tho the memstore hasn't
> > the limit. Or, stopping hbase will trigger the flush automatically? if
> > is the case, how do I know everything in-memory is flushed successfully
> > HDFS? via metrics(memstoreSize)?
> > --
> > All the best,
> > Shengjie Min
Customer Operations Engineer, Cloudera