Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 95163E489 for ; Sat, 26 Jan 2013 15:32:05 +0000 (UTC) Received: (qmail 84717 invoked by uid 500); 26 Jan 2013 15:32:03 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84579 invoked by uid 500); 26 Jan 2013 15:32:03 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 84558 invoked by uid 99); 26 Jan 2013 15:32:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 15:32:03 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of amits@infolinks.com designates 207.126.144.139 as permitted sender) Received: from [207.126.144.139] (HELO eu1sys200aog115.obsmtp.com) (207.126.144.139) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Jan 2013 15:31:56 +0000 Received: from mail-wg0-f69.google.com ([74.125.82.69]) (using TLSv1) by eu1sys200aob115.postini.com ([207.126.147.11]) with SMTP ID DSNKUQP21wpxz+JCjElhmRSdW++EBODf7d/s@postini.com; Sat, 26 Jan 2013 15:31:36 UTC Received: by mail-wg0-f69.google.com with SMTP id fn15so1385839wgb.4 for ; Sat, 26 Jan 2013 07:31:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=nKdDmlsoxLBVwFgUrfcgMFSE/TZUhKG6652fTlONmPY=; b=DUEyxHSj5Ii51OruQzolw2Z3QB9ROKGsAMa2lyp5J5ClWFfQkKRUxdUsP9Cr7H2In9 E1bLv4DHRCAtFhUr2ynHc4KO+RfbAtFAmSGwfcnLaM/OS4dgFPgrKQ2UdgbYXXYY8tTa uSKVzOyhiIg4lZtKQXhBEVPJNiIwMwLgxng7qjZBk5eID8QHkEvkUpc3D3TEzkqMbDMU ujKC9/KuYmFGyrPT5/KkWmx92kpxl721xuCL+hW0e0drqrcGHw6ZwPcNnbMKPKcRb8Ez dQ/hFDjeJQqVrWQuiYzGc7iqd3cPtsoQhTUyWeG95UavWU4IAMQCbIrNZNofcMNgAI7F l98w== X-Received: by 10.152.147.103 with SMTP id tj7mr8277495lab.54.1359214294729; Sat, 26 Jan 2013 07:31:34 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.147.103 with SMTP id tj7mr8277492lab.54.1359214294590; Sat, 26 Jan 2013 07:31:34 -0800 (PST) Received: by 10.114.21.4 with HTTP; Sat, 26 Jan 2013 07:31:34 -0800 (PST) In-Reply-To: References: <1358994226.69218.YahooMailNeo@web140602.mail.bf1.yahoo.com> Date: Sat, 26 Jan 2013 17:31:34 +0200 Message-ID: Subject: Re: HBASE-7114 Increment does not extend Mutation but probably should From: Amit Sela To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=e89a8f234d2b33e47304d432bd34 X-Gm-Message-State: ALoCoQmQUM0xA39yhKiF0QEpzwpaIGcwya/ETjEsaOyKZzOwmIfGb+eRs5rm59eYZVHNEExvPYVNLaIvd3F/9qpPdSn2hgUSIXPuX9hNJTU7EZW9tRDPR0T2xla09p8dacsSkE9wPtClCUkQ/jMeRBhH0HIXo7QpZKPWskwjOmzZasbI42ax/9k= X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f234d2b33e47304d432bd34 Content-Type: text/plain; charset=ISO-8859-1 Well, I increment counters where the row key is a keyword and the qualifier is a country code, and in the post increment region observer I increment an "all countries" aggregative counter. These counters are divided to families such as daily, weekly, hourly etc. So I get the family map to know which aggregative counter should I increment, then I piggyback onto the Result the "all countries" current count. On Jan 26, 2013 2:39 AM, "Ted Yu" wrote: > Amit: > Can you tell us what operation you perform on the returned family map ? > > Thanks > > On Thu, Jan 24, 2013 at 3:37 AM, Amit Sela wrote: > > > I'm using Increment.getFamilyMap in a postIncrement Observer. > > I'm running with HBase 0.94.2. > > > > Amit. > > > > On Thu, Jan 24, 2013 at 4:23 AM, lars hofhansl wrote: > > > > > The reason was that Increment was serialized differently (compared to > all > > > other mutations). > > > In trunk that is no longer an issue, since the serialization logic is > no > > > longer part of the object to be serialized. > > > > > > > > > -- Lars > > > > > > > > > > > > ________________________________ > > > From: Ted Yu > > > To: dev@hbase.apache.org; user@hbase.apache.org > > > Sent: Wednesday, January 23, 2013 10:25 AM > > > Subject: HBASE-7114 Increment does not extend Mutation but probably > > should > > > > > > Hi, > > > I want to get opinion on whether we should proceed with HBASE-7114 > > > 'Increment does not extend Mutation but probably should' in trunk. > > > > > > Is anyone using Increment.setWriteToWAL or Increment.getFamilyMap ? > > > For Increment.setWriteToWAL, are you using the Increment returned ? > > > > > > Your feedback would be appreciated. > > > > > > --e89a8f234d2b33e47304d432bd34--