The `du` command should show in bytes. Keep in mind that Accumulo
compresses data in its files. If the number doesn't match what you see
for the *.rf files in Hadoop, there may be a bug. Please let us know
if you find this to be the case.
On Tue, Apr 14, 2020 at 10:30 PM Niclas Hedhman wrote:
>
Yes, a bit of experimentation and I figured that out.
As for the "putIfAbsent"; I can actually figure that out from the data
being written in this case, effectively an event store, and all rows starts
with a "created" event.
One more small question;
there is a "du" command, does it really report
You should be able to use a conditional writer to support 'put if
absent':
https://accumulo.apache.org/docs/2.x/getting-started/clients#conditionalwriter
Generally you would not want to repeatedly write the same key/value, as
you will have to scan every single versioned entry when you want to
limitVersion = false would *not* set the default VersioningIterator,
effectively keeping every entry you write to Accumulo. Sounds like it hits
your requirement of "versions never to be removed", though keep in mind
that your static "metadata" qualifier would also never be versioned/deleted.
On