Roughly speaking:

ConditionalMutation m = new ConditionalMutation(new Text("id"));
m.put("fam".getBytes(), "qual".getBytes(), Timestamp, ColumnVis,
serializeInt(0));

//condition is a regex that checks that the value isn't serializeInt(0);

batch.addMutation(m);
batch.flush();

for(int i = 1; i < 7; i++) {
    **scan to get <Key, Value>** deserialize the value and print
    m.put("fam".getBytes(), "qual".getBytes(), Timestamp, ColumnVis,
serializeInt(i));
    //update condition to make sure the value isn't serializeInt(i)
    batch.addMutation(m);
    batch.flush();
}


And like I said, the scan pulls out the wrong value.

Thoughts?

Thanks,
Jeff N.



-----



--
View this message in context: 
http://apache-accumulo.1065345.n5.nabble.com/Rapidly-updating-Accumulo-Rows-tp11646p11648.html
Sent from the Developers mailing list archive at Nabble.com.

Reply via email to