[
https://issues.apache.org/jira/browse/HADOOP-13702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingcheng Du updated HADOOP-13702:
----------------------------------
Attachment: HDFS-10924-5.patch
Thanks a lot for the great comments [~chris.douglas].
I upload a new patch V5 to address them.
Since both ReadLock/WriteLock and InstrumentedLock are not interfaces, I have
to implement InstrumentedReadLock/InstrumentedWriteLock to extend
ReadLock/WriteLock instead of InstrumentedLock, and this makes some duplicated
code.
In order to align the InstrumentedReadLock/WriteLock together with
InstrumentedLock, I moved them to hdfs project instead of common.
Please take a look if anything needs to be improved. Thanks a lot.
> Add a new instrumented read-write lock
> --------------------------------------
>
> Key: HADOOP-13702
> URL: https://issues.apache.org/jira/browse/HADOOP-13702
> Project: Hadoop Common
> Issue Type: Improvement
> Components: common
> Reporter: Jingcheng Du
> Assignee: Jingcheng Du
> Attachments: HDFS-10924-2.patch, HDFS-10924-3.patch,
> HDFS-10924-4.patch, HDFS-10924-5.patch, HDFS-10924.patch
>
>
> Add a new instrumented read-write lock in hadoop common, so that the
> HDFS-9668 can use this to improve the locking in FsDatasetImpl
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]