Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Multi-CheckAnd...


Copy link to this message
-
Re: Multi-CheckAnd...
Ted Yu 2013-04-28, 04:20
I think we can utilize
HBASE-6712<https://issues.apache.org/jira/browse/HBASE-6712> for
this work.

Cheers

On Sun, Apr 28, 2013 at 11:34 AM, lars hofhansl <[EMAIL PROTECTED]> wrote:

> It's not far fetched to add a checkAndMutate method/rpc to HBase. Put,
> Delete, Increment (in trunk), and Append extend Mutation, so it would not
> be too hard to add.
> Could you file a jira and explain what you need specifically. I'm sure
> somebody will step up and make a patch (unless you want to work on a patch
> :) ).
>
> -- Lars
>
>
>
> ________________________________
>  From: Em <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Sent: Saturday, April 27, 2013 8:09 AM
> Subject: Multi-CheckAnd...
>
>
> Hello list,
>
> I was wondering how to create a multi-row-mutation with
> precondition-constraints.
>
> Something like this:
>
> public boolean[] multiCheckAndPut(byte[]row, byte[] family, byte[]
> column, List<Put> puts);
>
> This looks a little bit ugly but illustrates the idea.
>
> Are there any alternatives that would fit the use-case?
>
> Kind regards,
> Em
>