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 2FEBE18A07 for ; Fri, 18 Dec 2015 01:16:52 +0000 (UTC) Received: (qmail 70695 invoked by uid 500); 18 Dec 2015 01:16:47 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 70642 invoked by uid 500); 18 Dec 2015 01:16:47 -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 70618 invoked by uid 99); 18 Dec 2015 01:16:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Dec 2015 01:16:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C540A2C1F6B for ; Fri, 18 Dec 2015 01:16:46 +0000 (UTC) Date: Fri, 18 Dec 2015 01:16:46 +0000 (UTC) From: "Gera Shegalov (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2934) Improve handling of container's stderr 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-2934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063227#comment-15063227 ] Gera Shegalov commented on YARN-2934: ------------------------------------- Regarding my comment about the user, I meant the YARN app user. The users don't look at the NM logs. They look at the exceptions in the webUI and on the client side. if the exception says {code} Container exited with a non-zero exit code 127. Error file(s): [error.log, stderr.1, stderr.2] Last 4096 bytes of error.log : /bin/bash: /no/jvm/here/bin/java: No such file or directory {code} the user will know it should also check those. > Improve handling of container's stderr > --------------------------------------- > > Key: YARN-2934 > URL: https://issues.apache.org/jira/browse/YARN-2934 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Gera Shegalov > Assignee: Naganarasimha G R > Priority: Critical > Attachments: YARN-2934.v1.001.patch, YARN-2934.v1.002.patch, YARN-2934.v1.003.patch, YARN-2934.v1.004.patch, YARN-2934.v1.005.patch, YARN-2934.v1.006.patch, YARN-2934.v1.007.patch, YARN-2934.v1.008.patch, YARN-2934.v2.001.patch > > > Most YARN applications redirect stderr to some file. That's why when container launch fails with {{ExitCodeException}} the message is empty. -- This message was sent by Atlassian JIRA (v6.3.4#6332)