Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 5346710935 for ; Thu, 18 Jul 2013 00:10:49 +0000 (UTC) Received: (qmail 7418 invoked by uid 500); 18 Jul 2013 00:10:49 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 7392 invoked by uid 500); 18 Jul 2013 00:10:49 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 7383 invoked by uid 99); 18 Jul 2013 00:10:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 00:10:49 +0000 Date: Thu, 18 Jul 2013 00:10:49 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-814) Difficult to diagnose a failed container launch when error due to invalid environment variable 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/YARN-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13711828#comment-13711828 ] Jian He commented on YARN-814: ------------------------------ bq. When an exception happens in LinuxContainerExecutor.startLocalizer(), the exception's message eventually is set as diagnostics at ResourceLocalizationService.LocalizerRunner.run()(+996-+997). But the shell output is lost. Can you consistently fix this? The patch should already handle this. bq. deleteAsUser errors are missing too, but I remember there's a separate ticket will do this in a separate ticket Other comments fixed > Difficult to diagnose a failed container launch when error due to invalid environment variable > ---------------------------------------------------------------------------------------------- > > Key: YARN-814 > URL: https://issues.apache.org/jira/browse/YARN-814 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Hitesh Shah > Assignee: Jian He > Attachments: YARN-814.1.patch, YARN-814.2.patch, YARN-814.3.patch, YARN-814.4.patch, YARN-814.5.patch, YARN-814.6.patch, YARN-814.patch > > > The container's launch script sets up environment variables, symlinks etc. > If there is any failure when setting up the basic context ( before the actual user's process is launched ), nothing is captured by the NM. This makes it impossible to diagnose the reason for the failure. > To reproduce, set an env var where the value contains characters that throw syntax errors in bash. -- 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