Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: lars hofhansl <lhofhansl-/E1597aS9LQAvxtiuMwx3w <at> public.gmane.org>
Subject: Re: Help regarding RowLock
Newsgroups: gmane.comp.java.hadoop.hbase.user
Date: Thursday 29th December 2011 06:24:23 UTC (over 5 years ago)
I let other committers comment here, but in my opinion row locks (in their
current form) should have never been exposed to the client side API.
They are only maintained in memory at a region server, if the region server

dies (or no longer serves the relevant region) they are gone.

-- Lars


----- Original Message -----
From: kisalay 
To: [email protected]
Cc: 
Sent: Wednesday, December 28, 2011 10:05 PM
Subject: Help regarding RowLock

Hi,

Why going through some resources / docs on Row-Locks in Hbase, I came
across a post on Lily : http://outerthought.org/blog/380-ot.html
This basically tells:
1. Row-Locks may result into a deadlock in some scenarios. Please refer to
http://markmail.org/message/7zn7ad44rbptmruh#query:+page:1+mid:7zn7ad44rbptmruh+state:results

2. Row-Locks are not preserved on region splits.

I was curious to know whether these behavior are still valid, as the above
discussions happened a long time back. If so then can I deduce that I can
use rowlocks only in scenario where the contention and concurrency is low ?

~Kisalay
 
CD: 3ms