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

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

    Attachment: hadoop1397-v2.patch

Chatting with Hairong.... here is a patch that should apply cleanly to r540346. 
 Original patch against a clean r540346 checkout was doing below:

$ patch -p0 < ../hadoop-dev/hadoop1397.patch
patching file src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStore.java
patching file 
src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegionServer.java
Hunk #8 succeeded at 757 (offset 12 lines).
Hunk #9 succeeded at 789 (offset 12 lines).
Hunk #10 succeeded at 812 (offset 12 lines).
Hunk #11 succeeded at 844 (offset 12 lines).
Hunk #12 succeeded at 856 (offset 12 lines).
Hunk #13 succeeded at 1018 (offset 12 lines).
patching file src/contrib/hbase/src/java/org/apache/hadoop/hbase/HRegion.java

Hairong, if you are seeing other than the above -- actual rejections -- let me 
know.  Thanks.

> 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-v2.patch, 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.

Reply via email to