hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkrishna.S.Vasudevan" <ramkrishna.vasude...@huawei.com>
Subject checkAndPut, checkAndDelete
Date Mon, 02 Jul 2012 08:44:08 GMT
Hi Devs


Currently the checkAndPut, checkAndDelete these api currently accept the row
that needs to be checked and the Delete/Put also along with it.


Again internally in the code HRegion.checkAndMutate() there is a
verification to find if the row passed and the one inside the
Mutate(Put/Delete) object are same.  If not throw an exception.


1)      Can we do this check on the client side itself?

2)      Can we just use the row that is stuffed inside the Put/Delete?
(Anyway this change will be an api change).  


Pls correct me if am missing something here.








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