[
https://issues.apache.org/jira/browse/HBASE-14017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615734#comment-14615734
]
Hudson commented on HBASE-14017:
--------------------------------
FAILURE: Integrated in HBase-TRUNK #6632 (See
[https://builds.apache.org/job/HBase-TRUNK/6632/])
HBASE-14017 Procedure v2 - MasterProcedureQueue fix concurrency issue on table
queue deletion (busbey: rev 1713f1fcaf9d721a97bc564faaf070f2e6b0b1d1)
*
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestMasterProcedureQueue.java
*
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/MasterProcedureQueue.java
> Procedure v2 - MasterProcedureQueue fix concurrency issue on table queue
> deletion
> ---------------------------------------------------------------------------------
>
> Key: HBASE-14017
> URL: https://issues.apache.org/jira/browse/HBASE-14017
> Project: HBase
> Issue Type: Sub-task
> Components: proc-v2
> Affects Versions: 2.0.0, 1.2.0, 1.1.1, 1.3.0
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Priority: Blocker
> Fix For: 2.0.0, 1.2.0, 1.1.2
>
> Attachments: HBASE-14017-v0.patch, HBASE-14017-v0.patch,
> HBASE-14017.as-pushed-master.patch, HBASE-14017.v1-branch1.1.patch,
> HBASE-14017.v1-branch1.1.patch
>
>
> [~syuanjiang] found a concurrecy issue in the procedure queue delete where we
> don't have an exclusive lock before deleting the table
> {noformat}
> Thread 1: Create table is running - the queue is empty and wlock is false
> Thread 2: markTableAsDeleted see the queue empty and wlock= false
> Thread 1: tryWrite() set wlock=true; too late
> Thread 2: delete the queue
> Thread 1: never able to release the lock - NPE when trying to get the queue
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)