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 9C1E5E744 for ; Sat, 26 Jan 2013 15:14:49 +0000 (UTC) Received: (qmail 44988 invoked by uid 500); 26 Jan 2013 15:14:47 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 44573 invoked by uid 500); 26 Jan 2013 15:14:43 -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 44515 invoked by uid 99); 26 Jan 2013 15:14:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Jan 2013 15:14:40 +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 (nike.apache.org: domain of amits@infolinks.com designates 207.126.144.113 as permitted sender) Received: from [207.126.144.113] (HELO eu1sys200aog102.obsmtp.com) (207.126.144.113) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 26 Jan 2013 15:14:33 +0000 Received: from mail-ea0-f199.google.com ([209.85.215.199]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKUQPyxUio3Ooepk2GhpTOhRW+ZeXvl4fW@postini.com; Sat, 26 Jan 2013 15:14:13 UTC Received: by mail-ea0-f199.google.com with SMTP id j10so1386372eaa.10 for ; Sat, 26 Jan 2013 07:14:13 -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=N941Y3W6DA0D4II21j98h+nqfn3y+2ve0CpmVk2CuXM=; b=oWMdM1J7A4Wwy8dp18Mz5qNIwA0RYkCxtgAFuGHKhynPwAqPysadKOW63EVWsRlk1n o8/R1nuFPnFI5zYZgYsn9CPH3/70B9myFNY66RuUpKRTSf2UJQiOVmis5d8kQQXCUMTk JDz42cY2vHbkM8fv4P+gFGHGqaI7bnl1qMb8YXFA01IvOH+EHfL/meGCRXlvuS5rllye f3k2UIAm2UzkFaa5KcxqY2PX+F+5NLzlQi3Q3K49zw1le72hULpptWgBu4p2ffWBDq9G aKzzzUaaUxC2wOcgm404OaxJxBYW/EfW1nuSIroKQp5LDWxSb1M27LNMMJyiCXrA72CG bb6A== X-Received: by 10.112.17.194 with SMTP id q2mr3504271lbd.7.1359213252842; Sat, 26 Jan 2013 07:14:12 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.112.17.194 with SMTP id q2mr3504266lbd.7.1359213252675; Sat, 26 Jan 2013 07:14:12 -0800 (PST) Received: by 10.114.21.4 with HTTP; Sat, 26 Jan 2013 07:14:12 -0800 (PST) Received: by 10.114.21.4 with HTTP; Sat, 26 Jan 2013 07:14:12 -0800 (PST) In-Reply-To: References: <1358994226.69218.YahooMailNeo@web140602.mail.bf1.yahoo.com> Date: Sat, 26 Jan 2013 17:14:12 +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=bcaec554d84c19884204d4327f6e X-Gm-Message-State: ALoCoQlHfPenpOGF5p3vziaIAqv33OMOkFGqm9unL1Krvk8vI0JOkw8VV1MmC0ZeOPSXgxefQlY+e1/S/xznR8B/qW3lgAH+TA2pLKh3YEf0jjMdVzfa7EFkBIvnm6UIhbDEUwgIUltZ2rRWoPVD2hVzl5DhZmBqN9gAzjQOWlILXQBlDOo0hrU= X-Virus-Checked: Checked by ClamAV on apache.org --bcaec554d84c19884204d4327f6e 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. > > > --bcaec554d84c19884204d4327f6e--