Hi,
Sometimes we wish to do a clean update of a row, that is: Make sure any
old column values are removed that are not in the new Put.
This is how we're doing this now (hbase 0.20.3):
//delRow and putRow are the same row,
//but the row may currently contains columns that are not redefined in
putRow
HTable htable = new HTable("tablename");
htable.delete(delRow);
htable.put(putRow);
We just call these sequentially (single-threaded). However, could it be
possible that the delete is issued somehow AFTER the put? The htable
object has default settings (in other words there is no ). The reason
why I'm asking is that we are probably experiencing missing row issues.
If so, is there a better way to do an update of a row and discarding old
column values?
Regards,
Ferdy