Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88479109BE for ; Tue, 27 Jan 2015 19:49:47 +0000 (UTC) Received: (qmail 23492 invoked by uid 500); 27 Jan 2015 19:49:47 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 23405 invoked by uid 500); 27 Jan 2015 19:49:47 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 23388 invoked by uid 99); 27 Jan 2015 19:49:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 19:49:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yuzhihong@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yh0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2015 19:49:20 +0000 Received: by mail-yh0-f47.google.com with SMTP id z6so6960425yhz.6 for ; Tue, 27 Jan 2015 11:47:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6ShXHIKJg6nnoOAMeHzbKB3Nfi5cqz3uRmo2qjDCfrY=; b=Iy3creZOIp1b0Zo3G6leYi1OtM7IjCl/jBURJUwhVotg9Xj25+zYhD8gwakO8dsNV+ 2feBnRsxJwTSJSstqs9GH7Zr5icwU8SA3I+WKfK7a+fhu17fNN5Jg8RnVpUcD+a5EOiG 2cLr9ka95Cgclej+/KUOrwyMLzdGq0gKot/ey0YNBcVjn0ZmER66r1n17fdcZHU35o2U TLqb6CVN06FnTPaA98GBRm7B+Ej7lqlmPCdOOO0U9zQ40+LgLB6vCYf+uEPQstv6+wVu VrUAgbswA9Jp9vOWgIWVmVP1pVOJYc9oQtZz2ij8UTCOepr/6+idSAWqxxyPICJRFKo2 I4Ig== MIME-Version: 1.0 X-Received: by 10.170.217.9 with SMTP id j9mr1818463ykf.19.1422388068398; Tue, 27 Jan 2015 11:47:48 -0800 (PST) Received: by 10.170.139.9 with HTTP; Tue, 27 Jan 2015 11:47:48 -0800 (PST) In-Reply-To: <410132239.1367878.1422387819491.JavaMail.yahoo@mail.yahoo.com> References: <410132239.1367878.1422387819491.JavaMail.yahoo@mail.yahoo.com> Date: Tue, 27 Jan 2015 11:47:48 -0800 Message-ID: Subject: Re: Memstore customize From: Ted Yu To: "dev@hbase.apache.org" , lars hofhansl Content-Type: multipart/alternative; boundary=001a113ab4488cbd54050da787f4 X-Virus-Checked: Checked by ClamAV on apache.org --001a113ab4488cbd54050da787f4 Content-Type: text/plain; charset=UTF-8 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 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 > 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 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 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 > >> > > >> > > > > > > --001a113ab4488cbd54050da787f4--