hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14017) Procedure v2 - MasterProcedureQueue fix concurrency issue on table queue deletion
Date Sat, 04 Jul 2015 20:59:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614054#comment-14614054
] 

Hadoop QA commented on HBASE-14017:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12743600/HBASE-14017-v0.patch
  against master branch at commit e640f1e76af8f32015f475629610da127897f01e.
  ATTACHMENT ID: 12743600

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified
tests.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/14664//console

This message is automatically generated.

> 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.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)

Mime
View raw message