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 176F5D2A8 for ; Thu, 15 Nov 2012 18:22:13 +0000 (UTC) Received: (qmail 80909 invoked by uid 500); 15 Nov 2012 18:22:12 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 80716 invoked by uid 500); 15 Nov 2012 18:22:12 -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 80707 invoked by uid 99); 15 Nov 2012 18:22:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Nov 2012 18:22:12 +0000 Date: Thu, 15 Nov 2012 18:22:12 +0000 (UTC) From: "Ivan Mitic (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <518324666.120188.1353003732542.JavaMail.jiratomcat@arcas> In-Reply-To: <1842372342.111488.1352856972506.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-9036) TestSinkQueue.testConcurrentConsumers fails intermittently 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-9036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13498197#comment-13498197 ] Ivan Mitic commented on HADOOP-9036: ------------------------------------ Thanks Suresh. We still have the race condition though, right? Between {{Thread.Sleep}} and {{shouldThrowCME}}? I personally like the previous mitigation better since it's a simpler fix. > TestSinkQueue.testConcurrentConsumers fails intermittently > ----------------------------------------------------------- > > Key: HADOOP-9036 > URL: https://issues.apache.org/jira/browse/HADOOP-9036 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 1-win > Reporter: Ivan Mitic > Assignee: Ivan Mitic > Attachments: HADOOP-9036.branch-1-win.testsinkqueue.patch, HADOOP-9036.patch > > > org.apache.hadoop.metrics2.impl.TestSinkQueue.testConcurrentConsumers > > Error Message > should've thrown > Stacktrace > junit.framework.AssertionFailedError: should've thrown > at org.apache.hadoop.metrics2.impl.TestSinkQueue.shouldThrowCME(TestSinkQueue.java:229) > at org.apache.hadoop.metrics2.impl.TestSinkQueue.testConcurrentConsumers(TestSinkQueue.java:195) > Standard Output > 2012-10-03 16:51:31,694 INFO impl.TestSinkQueue (TestSinkQueue.java:consume(243)) - sleeping -- 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