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 E0E619698 for ; Wed, 6 Mar 2013 21:21:06 +0000 (UTC) Received: (qmail 42372 invoked by uid 500); 6 Mar 2013 21:21:04 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 42269 invoked by uid 500); 6 Mar 2013 21:21:04 -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 42260 invoked by uid 99); 6 Mar 2013 21:21:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 21:21:04 +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 jeff@opower.com designates 209.85.219.43 as permitted sender) Received: from [209.85.219.43] (HELO mail-oa0-f43.google.com) (209.85.219.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 21:20:58 +0000 Received: by mail-oa0-f43.google.com with SMTP id l10so13251668oag.2 for ; Wed, 06 Mar 2013 13:20:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=p3QuT+HGgyAqdd61cfIKAQ98CeS2gU3UOVqFl1wUKj4=; b=kZVWAUBG+oXS7rGFzfx1zl+x11PaNpm+5tLcSgLhTTLmhSkuFlF4qlYbwUTFiqrwGw qEAWAaH4l3O5UV+5rSyk0xm50o89qf19BB/wBHotGXjQzQkiFmxtSUUJU6NbEaJHjNSJ FC5rZGHF7DHZViirIi1WIvmkVXkIr4dFB+AhpcVr4T642hbQLQI/KGiUQT8InGiSQsfc lXU9hY5Tq1CYbO5S9DsJ9LahBhA2K5uxJId2rxh6LEYt/DoVblAGQs1zfnx5SnKloc+A OLLGHP8BgDEmJy6G+HFY7CzzQG397figq/Tl+bMVVwG5rb4EGP5ljF8K/Qv6qle0UJRH bpQA== MIME-Version: 1.0 X-Received: by 10.60.170.20 with SMTP id ai20mr24875220oec.33.1362604837056; Wed, 06 Mar 2013 13:20:37 -0800 (PST) Received: by 10.76.151.38 with HTTP; Wed, 6 Mar 2013 13:20:36 -0800 (PST) In-Reply-To: References: Date: Wed, 6 Mar 2013 13:20:36 -0800 Message-ID: Subject: Re: how do counters work, client api? From: Jeff Kolesky To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=bcaec554098048500b04d7482932 X-Gm-Message-State: ALoCoQldQspWXB0noT9pzwEPjNKwrZOMgDPtyUvbNKO/uhWRTgiwM0QcL9gxMOmiSLH1q0SkNKgM X-Virus-Checked: Checked by ClamAV on apache.org --bcaec554098048500b04d7482932 Content-Type: text/plain; charset=ISO-8859-1 One interesting post to read is from Lars H: http://hadoop-hbase.blogspot.com/2012/11/hbase-mvcc-and-built-in-atomic.html It describes how the atomic counter operations work. Jeff On Wed, Mar 6, 2013 at 12:25 PM, S Ahmed wrote: > Where can I read up on how counters work with hbase? > > Does it have some sort of api like: > > hbaseClient.incrementAndGet() > > Since things are distributed, I would imagine actually acting on the > counter value is not really possible since unless the thing acting on the > counter is single threaded right? > -- *Jeff Kolesky* Chief Software Architect *Opower* --bcaec554098048500b04d7482932--