accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Rapidly updating Accumulo Rows
Date Tue, 07 Oct 2014 20:38:16 GMT
Hi Jeff,

Could you share your code snippet? It sounds like you're saying that
you're not seeing consistency "I wrote a value and couldn't read that
value back" -- if so, that's really bad and should not ever happen.

On Tue, Oct 7, 2014 at 4:27 PM, Jeff N <mastergeek505@gmail.com> wrote:
> I've run into an issue wherein the process of saving and loading an updated
> row into/out of Accumulo fails to catch the updates fast enough. The only
> field that is changing is the row value and even with the 1.6
> ConditionalMutation and relating BatchWriter I cannot make the changes
> atomic enough.
>
> My scenario is as follows:
> I have a loop that loads a row, prints the value, updates the value, and
> then saves that row back into Accumulo. The value is merely an Integer that
> is incremented with the loop. The problem shows itself when I try to print
> the value and my output is something comparable to { 0, 0, 1, 2, 3, 3, 3, 3,
> 3, 5 }. This is in a loop that starts with a row value of 0 and then loops
> from 1 to 7.
>
> I've setup a RegExFilter for the Contion associated with the
> ConditionalMutation, but it always states that the Result Status has
> ACCEPTED the row, because the value is different, but then doesn't load as
> different.
>
> Any suggestions for possible solutions would be appreciated. Also, any
> information as to why this happens would also be appreciated.
>
> Thanks,
> Jeff N.
>
>
>
> -----
>
>
>
> --
> View this message in context: http://apache-accumulo.1065345.n5.nabble.com/Rapidly-updating-Accumulo-Rows-tp11646.html
> Sent from the Developers mailing list archive at Nabble.com.

Mime
View raw message