hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-2097) Deadlock between HRegion.put and HRegion.close
Date Fri, 08 Jan 2010 06:53:04 GMT
Deadlock between HRegion.put and HRegion.close
----------------------------------------------

                 Key: HBASE-2097
                 URL: https://issues.apache.org/jira/browse/HBASE-2097
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: Jean-Daniel Cryans
            Priority: Blocker
             Fix For: 0.20.3


HBASE-2037 added a bunch of fixes but also a deadlock:

HRegion.put:
{code}
splitsAndClosesLock.readLock().lock();
newScannerLock.writeLock().lock();
{code}

HRegion.close
{code}
newScannerLock.writeLock().lock();
try {
  splitsAndClosesLock.writeLock().lock();
{code}

To recreate, start a PerformanceEvaluation on standalone and it happens roughly 75% of the
time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message