[
https://issues.apache.org/jira/browse/HDDS-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789349#comment-16789349
]
Hudson commented on HDDS-1220:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16174 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16174/])
HDDS-1220. KeyManager#openKey should release the bucket lock before (ljain: rev
ebb5fa115b842a3bcb747e881ca2a8fe4c716d07)
* (edit)
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/TestKeyManagerImpl.java
* (edit)
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
> KeyManager#openKey should release the bucket lock before doing an
> allocateBlock
> -------------------------------------------------------------------------------
>
> Key: HDDS-1220
> URL: https://issues.apache.org/jira/browse/HDDS-1220
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Fix For: 0.4.0, 0.5.0
>
> Attachments: HDDS-1220.001.patch
>
>
> Currently KeyManager#openKey makes an allocateBlock call without releasing
> the bucket lock. Since allocateBlock requires a rpc connection to SCM, the
> handler thread in OM would hold the bucket lock until rpc is complete. Since
> allocateBlock call does not require a bucket lock to be held, allocateBlock
> call can be made after releasing the bucket lock.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]