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 6935210B2C for ; Sat, 24 Aug 2013 02:01:53 +0000 (UTC) Received: (qmail 5956 invoked by uid 500); 24 Aug 2013 02:01:53 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 5898 invoked by uid 500); 24 Aug 2013 02:01:53 -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 5889 invoked by uid 99); 24 Aug 2013 02:01:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Aug 2013 02:01:53 +0000 Date: Sat, 24 Aug 2013 02:01:53 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9324) TestProcedureMember#testMemberCommitException, testSimpleRun & testMemberCommitCommsFailure are flaky on Suse OS 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-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749241#comment-13749241 ] Hudson commented on HBASE-9324: ------------------------------- FAILURE: Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #696 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/696/]) HBASE-9324: TestProcedureMember#testMemberCommitException, testSimpleRun & testMemberCommitCommsFailure are flaky on Suse OS (jeffreyz: rev 1517066) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/procedure/ProcedureMember.java > TestProcedureMember#testMemberCommitException, testSimpleRun & testMemberCommitCommsFailure are flaky on Suse OS > ---------------------------------------------------------------------------------------------------------------- > > Key: HBASE-9324 > URL: https://issues.apache.org/jira/browse/HBASE-9324 > Project: HBase > Issue Type: Bug > Components: test > Reporter: Jeffrey Zhong > Assignee: Jeffrey Zhong > Fix For: 0.95.2, 0.96.0 > > Attachments: hbase-9324.patch > > > The failures are due to a race condition that sub procedure could finish before the sub procedure is added into internal map ProcedureMember#subprocs. Below is the related code: > {code} > future = this.pool.submit(subproc); > synchronized (subprocs) { > subprocs.put(procName, subproc); > } > {code} > As you can see the above, that subproc could finish before {code}subprocs.put(procName, subproc);{code}. Therefore, the test will fail with the following error message: > {code} > procedure.ProcedureMember(189): Unexpected reached glabal barrier message for Sub-Procedure 'some op' > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira