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 <[email protected]>
 To: [email protected] 
 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 <[email protected]> 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 <[email protected]> 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 <[email protected]>
>> 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
>> >
>>
>


   

Reply via email to