[
https://issues.apache.org/jira/browse/HBASE-21553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16716028#comment-16716028
]
Hudson commented on HBASE-21553:
--------------------------------
SUCCESS: Integrated in Jenkins build HBase-1.3-IT #508 (See
[https://builds.apache.org/job/HBase-1.3-IT/508/])
HBASE-21553 schedLock not released in MasterProcedureScheduler (apurtell: rev
b9adb955cde19746219b3efd8500c7ba7239ae56)
* (edit)
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java
> schedLock not released in MasterProcedureScheduler
> --------------------------------------------------
>
> Key: HBASE-21553
> URL: https://issues.apache.org/jira/browse/HBASE-21553
> Project: HBase
> Issue Type: Improvement
> Reporter: Xu Cang
> Assignee: Xu Cang
> Priority: Major
> Fix For: 1.5.0, 1.3.3, 1.4.10
>
> Attachments: HBASE-21553-branch-1.001.patch,
> HBASE-21553-branch-1.002.patch
>
>
> https://github.com/apache/hbase/blob/branch-1/hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java#L749
> As shown above, we didn't unlock schedLock which can cause deadlock.
> Besides this, there are other places in this class handles schedLock.unlock
> in a risky manner. I'd like to move them to finally block to improve the
> robustness of handling locks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)