long lockId = table.startUpdate(new Text("myRow"));
...
...
....
table.commit(lockId);  ||   table.abort(lockId);




On Thu, May 8, 2008 at 10:48 AM, Zhou Wei
<[EMAIL PROTECTED]> 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
>

Reply via email to