hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6550) Capture launch_container.sh logs
Date Thu, 03 Aug 2017 00:00:10 GMT

    [ 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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message