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 72F70185C9 for ; Mon, 30 Nov 2015 15:37:12 +0000 (UTC) Received: (qmail 3542 invoked by uid 500); 30 Nov 2015 15:37:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 3465 invoked by uid 500); 30 Nov 2015 15:37: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 3129 invoked by uid 99); 30 Nov 2015 15:37: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 15:37:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 12D7A2C1F74 for ; Mon, 30 Nov 2015 15:37:11 +0000 (UTC) Date: Mon, 30 Nov 2015 15:37:11 +0000 (UTC) From: "Heng Chen (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Heng Chen created HBASE-14897: --------------------------------- Summary: TestTableLockManager.testReapAllTableLocks is flakey Key: HBASE-14897 URL: https://issues.apache.org/jira/browse/HBASE-14897 Project: HBase Issue Type: Bug Reporter: Heng Chen 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)