Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4EE6F18862 for ; Mon, 6 Jul 2015 21:03:05 +0000 (UTC) Received: (qmail 87230 invoked by uid 500); 6 Jul 2015 21:03:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 87175 invoked by uid 500); 6 Jul 2015 21:03:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 87159 invoked by uid 99); 6 Jul 2015 21:03:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2015 21:03:05 +0000 Date: Mon, 6 Jul 2015 21:03:05 +0000 (UTC) From: "Sean Busbey (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14017) Procedure v2 - MasterProcedureQueue fix concurrency issue on table queue deletion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615658#comment-14615658 ] Sean Busbey commented on HBASE-14017: ------------------------------------- I've been pushing the changes [~mbertozzi] had ready to go in a local repo before the ASF git outage started. I just got to branch-1.1. I'll check to see if it's different? > 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)