You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by donal <do...@gmail.com> on 2011/06/13 18:03:43 UTC

about incr/decr counters

Hi,
I'm a newbie to Hbase, can you tell me if Hbase support increment counters ?
And if the counters support TTL ?
Does it have duplicate problem when do retries?

Thanks!
Donal

Re: about incr/decr counters

Posted by Stack <st...@duboce.net>.
On Mon, Jun 13, 2011 at 9:03 AM, donal <do...@gmail.com> wrote:
> I'm a newbie to Hbase, can you tell me if Hbase support increment counters ?


Yes.

(There is an issue filed against decrements with a fix yet to be committed)

> And if the counters support TTL ?

Yes.


> Does it have duplicate problem when do retries?
>

Yes, in that there are no guards currently against double counts if a
retry for whatever reason whether client mishap or server-side, a
queued increment may be applied though client gave up because server
was taking too long (There is an issue to fix this but no patch as
yet).

St.Ack