Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AA34C200CE7 for ; Thu, 3 Aug 2017 02:00:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A898D16A92B; Thu, 3 Aug 2017 00:00:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EE50516A92A for ; Thu, 3 Aug 2017 02:00:13 +0200 (CEST) Received: (qmail 34986 invoked by uid 500); 3 Aug 2017 00:00:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 34975 invoked by uid 99); 3 Aug 2017 00:00:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 00:00:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A045D180720 for ; Thu, 3 Aug 2017 00:00:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Ux2-wbeJClr6 for ; Thu, 3 Aug 2017 00:00:12 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id BB4E45F3D1 for ; Thu, 3 Aug 2017 00:00:11 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4719DE04AB for ; Thu, 3 Aug 2017 00:00:11 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D87582464C for ; Thu, 3 Aug 2017 00:00:10 +0000 (UTC) Date: Thu, 3 Aug 2017 00:00:10 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6550) Capture launch_container.sh logs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 00:00:14 -0000 [ https://issues.apache.org/jira/browse/YARN-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111943#comment-16111943 ] Allen Wittenauer commented on YARN-6550: ---------------------------------------- bq. could there be any portability issues across bash versions? Short answer: No, definitely not. Long answer: Hmm... How long as grouping been supported? That's a great question. After a bit research, some answers.... * Hadoop 3.x requires bash 3.2. Pushing aside the OSS BSDs (which don't ship bash at all), that's old enough for Mac OS X, the only modern platform that doesn't ship bash 4.x. To find something that shipped with older than bash 3.2, you'll need to go back to circa 2003 with Solaris 9. * Shell command grouping is part of the earliest POSIX spec I can find. So "real" Bourne definitely supports it. * Bourne has supported it for a very long time according to unofficial sources. (eg. O'Reilly's UNIX Power Tools book) and likely since near the beginning of UNIX! > Capture launch_container.sh logs > -------------------------------- > > Key: YARN-6550 > URL: https://issues.apache.org/jira/browse/YARN-6550 > Project: Hadoop YARN > Issue Type: Sub-task > Affects Versions: 3.0.0-beta1 > Reporter: Wangda Tan > Assignee: Suma Shivaprasad > Fix For: 3.0.0-beta1 > > Attachments: YARN-6550.002.patch, YARN-6550.patch > > > launch_container.sh which generated by NM will do a bunch of things (like create link, etc.) while launch a process. No logs captured until {{exec}} is called. We need capture all failures of launch_container.sh for easier troubleshooting. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org