startUpdate is deprecated in TRUNK. Also, it doesn't do what you are
thinking it does. Committing a BatchUpdate is atomic across the whole
row, however. There is currently no way to make a get and a commit
transactional, though there is an issue open for write-if-not-
modified-since support. If this is something you need we can talk
about how it might be supported.
-Bryan
On May 7, 2008, at 7:48 PM, Zhou Wei wrote:
Hi
Does HBase support single-row transaction as described in Bigtable
paper?
"Bigtable supports single-row transactions, which can be
used to perform atomic read-modify-write sequences on
data stored under a single row key." --Bigtable paper
If so, how can I define a transaction in HBase,
is it looks like this:
lid=startUpdate
get(lid)
..
put(lid)
...
commit(lid)
Are these transactions isolated with each other?
If not, is there a way to achieve that?
Thanks
Zhou