You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "stack (JIRA)" <ji...@apache.org> on 2007/05/21 19:33:16 UTC

[jira] Updated: (HADOOP-1397) Replace custom hbase locking with java.util.concurrent.locks.ReentrantLock

     [ https://issues.apache.org/jira/browse/HADOOP-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HADOOP-1397:
--------------------------

    Attachment: hadoop1397.patch

Here is a patch that replaces all instances of HLocking with instances of ReentrantReadWriteLock.

Hairong Kuang:  Any chance you'd try this patch on your machine first before I mark this issue with patch available'.  I would like to be sure that this patch does not introduce regression of HADOOP-1341 "TestHBaseCluster fails with IllegalMonitorStateException" (I've run unit tests on a couple of machines, both single and multiprocessor and it passes fine).  Thanks Hairong.

> Replace custom hbase locking with java.util.concurrent.locks.ReentrantLock
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-1397
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1397
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: contrib/hbase
>            Reporter: stack
>            Priority: Minor
>         Attachments: hadoop1397.patch
>
>
> HBase has a locking class that is effectively a clone of java.util.concurrent.locks.ReentrantLock.  This issue is about replacing HLocking with the java native implementation.

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