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 CA6D518A5C for ; Mon, 30 Nov 2015 16:56:11 +0000 (UTC) Received: (qmail 14058 invoked by uid 500); 30 Nov 2015 16:56:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 13737 invoked by uid 500); 30 Nov 2015 16:56:11 -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 13688 invoked by uid 99); 30 Nov 2015 16:56:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Nov 2015 16:56:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 23C9D2C1F7B for ; Mon, 30 Nov 2015 16:56:11 +0000 (UTC) Date: Mon, 30 Nov 2015 16:56:11 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14897) TestTableLockManager.testReapAllTableLocks is flakey 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-14897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15032069#comment-15032069 ] stack commented on HBASE-14897: ------------------------------- Thats excellent [~chenheng] Lets see how it does. +1 on trying the patch. > TestTableLockManager.testReapAllTableLocks is flakey > ---------------------------------------------------- > > Key: HBASE-14897 > URL: https://issues.apache.org/jira/browse/HBASE-14897 > Project: HBase > Issue Type: Bug > Reporter: Heng Chen > Attachments: HBASE-14897.patch, reproduce.patch > > > It comes from email list which [~stack] post. > This is the some relates QA information. > https://builds.apache.org/view/H-L/view/HBase/job/HBase-Trunk_matrix/512/jdk=latest1.8,label=Hadoop/testReport/org.apache.hadoop.hbase.master/TestTableLockManager/testReapAllTableLocks/ > The reason is here. > {code} > writeLocksObtained.await(); > writeLocksAttempted.await(); > {code} > writeLocksAttempted maybe count down to 0 before created node on ZK, and main thread will go on to run lockManager.reapWriteLocks(), And after that node was created on ZK, so relates lock acquire will timeout. > I upload a patch which can reproduce this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)