[
https://issues.apache.org/jira/browse/HDFS-8967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14731369#comment-14731369
]
Jing Zhao commented on HDFS-8967:
---------------------------------
I think the patch should work since we only provide a wrapper for the
fsnamesystem lock. But I'm not sure if the lock semantic is correct: for some
functions in BlockManager we may have to hold the NS lock based on the current
implementation. So maybe we should continue this work in a feature branch.
> Create a BlockManagerLock class to represent the lock used in the BlockManager
> ------------------------------------------------------------------------------
>
> Key: HDFS-8967
> URL: https://issues.apache.org/jira/browse/HDFS-8967
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-8967.000.patch, HDFS-8967.001.patch,
> HDFS-8967.002.patch
>
>
> This jira proposes to create a {{BlockManagerLock}} class to represent the
> lock used in {{BlockManager}}.
> Currently it directly points to the {{FSNamesystem}} lock thus there are no
> functionality changes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)