hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Memstore customize
Date Tue, 27 Jan 2015 19:47:48 GMT
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