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 5030210BD9 for ; Mon, 21 Oct 2013 23:36:42 +0000 (UTC) Received: (qmail 85893 invoked by uid 500); 21 Oct 2013 23:36:42 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 85870 invoked by uid 500); 21 Oct 2013 23:36:42 -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 85861 invoked by uid 99); 21 Oct 2013 23:36:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 23:36:42 +0000 Date: Mon, 21 Oct 2013 23:36:42 +0000 (UTC) From: "Tassapol Athiapinya (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1334) YARN should give more info on errors when running failed distributed shell command 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-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801319#comment-13801319 ] Tassapol Athiapinya commented on YARN-1334: ------------------------------------------- Can you please check if this part is correct? -nodeAddress = getConf().get(YarnConfiguration.NM_ADDRESS)) Does it dynamically retrieves NM address based on container ID? If not, you can safely remove this part. > YARN should give more info on errors when running failed distributed shell command > ---------------------------------------------------------------------------------- > > Key: YARN-1334 > URL: https://issues.apache.org/jira/browse/YARN-1334 > Project: Hadoop YARN > Issue Type: Improvement > Components: applications/distributed-shell > Affects Versions: 2.2.1 > Reporter: Tassapol Athiapinya > Assignee: Xuan Gong > Fix For: 2.2.1 > > Attachments: YARN-1334.1.patch > > > Run incorrect command such as: > /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client -jar -shell_command ./test1.sh -shell_script ./ > would show shell exit code exception with no useful message. It should print out sysout/syserr of containers/AM of why it is failing. -- This message was sent by Atlassian JIRA (v6.1#6144)