hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micha <mich...@fantasymail.de>
Subject Re: cancelling put in preput
Date Mon, 12 Sep 2016 12:14:38 GMT
ok, doing:

put.getFamilyCellMap().clear();

does it.


Am 09.09.2016 um 12:11 schrieb Micha:
> Hi,
> 
> sorry if I have overlooked some obvious docu but I couldn't find how to
> do this:
> 
> I have implemented a prePut coprocessor which adjust some values of an
> incoming put. This works quite good, with the exception that sometimes
> it isn't necessary to continue the and store the actual data, since it
> stays as it is.
> How do I abort the put in the prePut action and prevent a useless write
> to the database? Bypass and complete don't prevent the following put
> action (timestamp is changed after put).
> 
> cheers + thanks for answering,
>  Michael
> 

Mime
View raw message