Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 ABE2E754B for ; Thu, 1 Dec 2011 08:10:03 +0000 (UTC) Received: (qmail 49005 invoked by uid 500); 1 Dec 2011 08:10:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 48988 invoked by uid 500); 1 Dec 2011 08:10:03 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 48975 invoked by uid 99); 1 Dec 2011 08:10:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 08:10:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Thu, 01 Dec 2011 08:10:02 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 18077AB06E for ; Thu, 1 Dec 2011 08:09:42 +0000 (UTC) Date: Thu, 1 Dec 2011 08:09:42 +0000 (UTC) From: "Sharad Agarwal (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <20915993.30048.1322726982107.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1197374775.29102.1322702139953.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-3489) Unit tests failing silently 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/MAPREDUCE-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160716#comment-13160716 ] Sharad Agarwal commented on MAPREDUCE-3489: ------------------------------------------- Definately System.exit is not the right thing in a library. Sigh! I knew that when I wrote that and intended to remove it. Couldn't get chance to get to it. I think we should get rid of it and instead have a error handling callback registered to Dispatcher. > Unit tests failing silently > --------------------------- > > Key: MAPREDUCE-3489 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3489 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.0 > Reporter: Siddharth Seth > Priority: Critical > > If one of the dispatched events generates an exception - the dispatcher kills the JVM via a System.exit. Unit tests end up not running - but they don't fail either. > TestTaskAttempt is currently running like this. > Previously - have seen TestRecovery and TestJobHistoryParsing do the same. Most of the tests would need to be looked at. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira