hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Agarwal <gaurav130...@gmail.com>
Subject Re: Memstore customize
Date Tue, 27 Jan 2015 20:19:45 GMT
Vladimir i am on hortonworks

On Wed, Jan 28, 2015 at 1:34 AM, Vladimir Rodionov <vladrodionov@gmail.com>
wrote:

> CDH 5.2.1 (0.98-based) has HBASE-10648.
>
> -Vladimir
>
> On Tue, Jan 27, 2015 at 11:58 AM, Gaurav Agarwal <gaurav130403@gmail.com>
> wrote:
>
> > Yes that's what i wanted. Thanks to both of you. so in the current
> version
> > of Hbase i can't use this feature of memorystore.
> >
> > On Wed, Jan 28, 2015 at 1:17 AM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > Thanks Lars for chiming in.
> > >
> > > Gaurav:
> > > See the following for details:
> > > HBASE-10648 Pluggable Memstore
> > >
> > > Cheers
> > >
> > > On Tue, Jan 27, 2015 at 11:43 AM, lars hofhansl <larsh@apache.org>
> > wrote:
> > >
> > > > You can plug in your own implementation a memstore if that is what
> you
> > > > mean. This is supported from 1.0 onwards (i.e. not in a released
> > version
> > > of
> > > > HBase, yet, but soon).If you can decide what to do at the time a data
> > > item
> > > > is added you can also implement this via coprocessor hooks, for that
> > > take a
> > > > look at RegionObserver.java.
> > > >
> > > > -- Lars
> > > >       From: Gaurav Agarwal <gaurav130403@gmail.com>
> > > >  To: dev@hbase.apache.org
> > > >  Sent: Tuesday, January 27, 2015 11:14 AM
> > > >  Subject: Re: Memstore customize
> > > >
> > > > di yiu want me to explain in better way
> > > >
> > > >
> > > >
> > > > On 1/28/15, Gaurav Agarwal <gaurav130403@gmail.com> wrote:
> > > > > Currently If i will store anything into Hbase table , I can
> directly
> > > use
> > > > > HBASE api to store the data into table. Internally first data will
> be
> > > > store
> > > > > into memoryStore and then it will be flushed as HFile.
> > > > >
> > > > > Now instead of storing the data directly into Htable , Can i store
> > the
> > > > data
> > > > > into Memorystore with the help of Store Api and perform some
> > operations
> > > > > there so that will do other operations that we required apart from
> > > > sorting
> > > > > . It will flush into HFILE when the memory store size is full.
> > > > >
> > > > > Will it be possible.
> > > > >
> > > > > Thanks
> > > > >
> > > > > On Tue, Jan 27, 2015 at 11:53 PM, Ted Yu <yuzhihong@gmail.com>
> > wrote:
> > > > >
> > > > >> You mean skipping the HTable API ?
> > > > >>
> > > > >> Can you tell us more about your use case ?
> > > > >>
> > > > >> Cheers
> > > > >>
> > > > >> On Tue, Jan 27, 2015 at 10:20 AM, Gaurav Agarwal <
> > > > gaurav130403@gmail.com>
> > > > >> wrote:
> > > > >>
> > > > >> > Currently hbase use memstore to store the information before
> > > flushing
> > > > >> > it
> > > > >> to
> > > > >> > hFILE.
> > > > >> >
> > > > >> > Is there any way that i can use the Memstore to write my
own key
> > > value
> > > > >> pair
> > > > >> > and then it will get flush that into HFILE. Mean to say
can we
> use
> > > > >> MemStore
> > > > >> > to use it in our own way.
> > > > >> >
> > > > >> > Thanks
> > > > >> >
> > > > >>
> > > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message