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

Switch to Plain View
HBase >> mail # user >> Multi-CheckAnd...

Em 2013-04-27, 15:09
Copy link to this message
Re: Multi-CheckAnd...
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

Sent: Saturday, April 27, 2013 8:09 AM
Subject: Multi-CheckAnd...

Hello list,

I was wondering how to create a multi-row-mutation with

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,
Ted Yu 2013-04-28, 04:20
Em 2013-04-28, 08:09
Ted Yu 2013-04-27, 22:48
Em 2013-04-28, 08:06