Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87EEC6667 for ; Tue, 17 May 2011 01:05:29 +0000 (UTC) Received: (qmail 1503 invoked by uid 500); 17 May 2011 01:05:28 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 1415 invoked by uid 500); 17 May 2011 01:05:28 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 1372 invoked by uid 99); 17 May 2011 01:05:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 01:05:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 May 2011 01:05:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1DCA6CD926 for ; Tue, 17 May 2011 01:04:48 +0000 (UTC) Date: Tue, 17 May 2011 01:04:48 +0000 (UTC) From: "Luke Lu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1737891034.17560.1305594288118.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <866597877.11958.1305329567592.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-7292) Metrics 2 TestSinkQueue is racy 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/HADOOP-7292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luke Lu updated HADOOP-7292: ---------------------------- Attachment: hadoop-7292-test-race-v2.patch Patch v2 make the barrier local for better readability. > Metrics 2 TestSinkQueue is racy > ------------------------------- > > Key: HADOOP-7292 > URL: https://issues.apache.org/jira/browse/HADOOP-7292 > Project: Hadoop Common > Issue Type: Bug > Components: metrics > Affects Versions: 0.23.0 > Reporter: Luke Lu > Assignee: Luke Lu > Priority: Minor > Fix For: 0.23.0 > > Attachments: hadoop-7292-test-race-v1.patch, hadoop-7292-test-race-v2.patch > > > The TestSinkQueue is racy (Thread.yield is not enough to guarantee other intended thread getting run), though it's the first time (from HADOOP-7289) I saw it manifested here. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira