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 F2B574408 for ; Wed, 6 Jul 2011 01:14:39 +0000 (UTC) Received: (qmail 50768 invoked by uid 500); 6 Jul 2011 01:14:39 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 50607 invoked by uid 500); 6 Jul 2011 01:14:39 -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 50596 invoked by uid 99); 6 Jul 2011 01:14:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2011 01:14:38 +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; Wed, 06 Jul 2011 01:14:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9E25141FDE for ; Wed, 6 Jul 2011 01:14:16 +0000 (UTC) Date: Wed, 6 Jul 2011 01:14:16 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1274427066.2413.1309914856644.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1605508884.9247.1299706800928.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-2373) When tasks exit with a nonzero exit status, task runner should log the stderr as well as stdout 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-2373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated MAPREDUCE-2373: ----------------------------------- Attachment: mr-2373-amendment.txt here's an amendment to this patch -- the issue is that setPermission can actually throw ExitCodeException, which then caused an NPE in the catch clause. When this patch is put on trunk/mrv2, we should include this amendment. > When tasks exit with a nonzero exit status, task runner should log the stderr as well as stdout > ----------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-2373 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2373 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 0.22.0 > > Attachments: mapreduce-2373-on-20sec.txt, mr-2373-amendment.txt > > > Currently, if the taskjvm.sh script fails to exec java for some reason, it prints its error message to stderr. This doesn't make it to the logs anywhere. Logging the stderr is very useful to understand why taskjvm.sh failed to start the Child jvm. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira