hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manjeet Singh <manjeet.chand...@gmail.com>
Subject Re: Hbase Row key lock
Date Tue, 23 Aug 2016 16:59:22 GMT
Hi All,
In Hbase current version what happen if two different client write the same
rowkey at same time in hbase
Assume if its kind of update.
Does Rowkey lock Hbase server automatically deal with this?


Thanks
Manjeet

On Wed, Aug 17, 2016 at 1:04 PM, Dima Spivak <dspivak@cloudera.com> wrote:

> Row locks on the client side were deprecated in 0.94 (see HBASE-7341) and
> removed in 0.96 (see HBASE-7315). As you note, they could lead to deadlocks
> and also had problems when region moves or splits occurred.
>
> Is there a specific reason you're looking for this functionality, Manjeet?
>
> -Dima
>
> On Tuesday, August 16, 2016, Manjeet Singh <manjeet.chandhok@gmail.com>
> wrote:
>
> > Hi All
> >
> > Can anyone help me about how and in which version of Hbase support Rowkey
> > lock ?
> > I have seen article about rowkey lock but it was about .94 version it
> said
> > that if row key not exist and any update request come and that rowkey not
> > exist then in this case Hbase hold the lock for 60 sec.
> >
> > currently I am using Hbase 1.2.2 version
> >
> > Thanks
> > Manjeet
> >
> >
> >
> > --
> > luv all
> >
>
>
> --
> -Dima
>



-- 
luv all

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message