You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Stack <st...@duboce.net> on 2010/06/15 16:33:37 UTC

Re: I want to know whether HBase single row written is row lock default

On Tue, Jun 15, 2010 at 4:52 AM, zhengbing li <lo...@gmail.com> wrote:
> hi,
>    I want to know whether the following code is row locked default
>
Yes.

>   Put put = new Put(rowID)
>   hTable.put(put);
>
You are missing put.add... in the above, adding actual values to insert.

St.Ack