Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E2696ABD for ; Tue, 14 Jun 2011 18:35:13 +0000 (UTC) Received: (qmail 6053 invoked by uid 500); 14 Jun 2011 18:35:12 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 5994 invoked by uid 500); 14 Jun 2011 18:35:12 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 5986 invoked by uid 99); 14 Jun 2011 18:35:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2011 18:35:12 +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, 14 Jun 2011 18:35:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A216C416B17 for ; Tue, 14 Jun 2011 18:34:49 +0000 (UTC) Date: Tue, 14 Jun 2011 18:34:49 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: mapreduce-dev@hadoop.apache.org Message-ID: <736843447.3717.1308076489660.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (MAPREDUCE-2592) TT should fail task immediately if userlog dir cannot be created MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org TT should fail task immediately if userlog dir cannot be created ---------------------------------------------------------------- Key: MAPREDUCE-2592 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2592 Project: Hadoop Map/Reduce Issue Type: Improvement Components: tasktracker Affects Versions: 0.23.0 Reporter: Todd Lipcon Fix For: 0.23.0 Currently, TaskRunner will log the message "mkdirs failed. Ignoring" if it fails to mkdir the userlog directory for a task. Then, it goes on to spawn taskjvm.sh which tries to redirect output into the userlogs dir, thus failing with exit code 1. This leads to error messages that are very hard to diagnose ("task failed with exit status 1") in cases where the userlog directory has either become inaccessible or has reached the maximum number of dirents (32000 in ext3) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira