Perhaps you want to use conditional mutations for your use case?  Here is
an example from the Accumulo Tour which uses the ConditionalWriter:
https://accumulo.apache.org/tour/conditional-writer/


On Wed, Jan 23, 2019 at 1:03 PM gtotsline <[email protected]> wrote:

> Hi -
>
> I have an Accumulo table with records that for certain situations I would
> like to do a true update on, i.e. I want to:
> 1. Scan or Batch Scan a record
> 2. Make some updates to that record
> 3. Write the record so that it *replaces *the current Accumulo version of
> that record (and not create a new version).
>
> The VersioningIterator is removed from this table and while I understand I
> can add it dynamically to the scan, our real objective is to not pile up a
> bunch of versioned records. We need to use Accumulo versioning for some use
> cases for this table, but in other use cases do not want Accumulo to create
> a new version on a mutate, we want to effectively update the latest version
> of the record.  Any thoughts on how to accomplish this?
>
> Thanks!
>
>
>
> --
> Sent from: http://apache-accumulo.1065345.n5.nabble.com/Developers-f3.html
>

Reply via email to