hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Baranau <alex.barano...@gmail.com>
Subject Re: CheckAndAppend Feature
Date Tue, 07 Aug 2012 16:00:48 GMT
Hi Jerry,

Out of curiosity, what is your use-case? How do you want to use this?

Also, I guess, feel free to file a jira issue for this functionality (I
believe there's no such yet) .

Alex Baranau
------
Sematext :: http://sematext.com/ :: Hadoop - HBase - ElasticSearch - Solr

On Tue, Aug 7, 2012 at 11:55 AM, lars hofhansl <lhofhansl@yahoo.com> wrote:

> There is no such functionality currently, and there is no good way to
> simulate that.
>
> Currently that cannot even be done with a coprocessor endpoint, because
> region coprocessors have no way to create a region lock (just checked the
> code).
> (That is something we have to change I think - I will create an issue once
> the Jira system is back from the walk in the park).
>
> -- Lars
>
>
> ----- Original Message -----
> From: Jerry Lam <chilinglam@gmail.com>
> To: user <user@hbase.apache.org>
> Cc:
> Sent: Tuesday, August 7, 2012 8:22 AM
> Subject: CheckAndAppend Feature
>
> Hi HBase community:
>
> I checked the HTable API, it has checkAndPut and checkAndDelete but I'm
> looking for checkAndAppend. Is there a way to simulate similarly?
> For instance, I want to check the last 32 bytes of a value (let assume that
> it has 128 bytes in total) in a column before appending atomically some
> values into it.
>
> Thanks!
>
> Jerry
>
>


-- 
Alex Baranau
------
Sematext :: http://blog.sematext.com/ :: Hadoop - HBase - ElasticSearch -
Solr

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message