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 Wed, 20 Sep 2017 23:10:02 GMT

    [ https://issues.apache.org/jira/browse/YARN-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173980#comment-16173980
] 

Allen Wittenauer commented on YARN-6550:
----------------------------------------

FYI:

This:  

{code}
set -o pipefail -e
{code}
... should be at the top.  Additionally, if those sets are being done, then

{code}
hadoop_shell_errorcode=$?
if [[ "$hadoop_shell_errorcode" -ne 0 ]]
then
  exit $hadoop_shell_errorcode
fi
{code}

... should never be getting reached.

Additionally:

{code}
exec ...
{code}

replaces the running app, so that closing if/then clause is pointless.


> 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
>         Attachments: YARN-6550.002.patch, YARN-6550.003.patch, YARN-6550.005.patch, YARN-6550.006.patch,
YARN-6550.007.patch, YARN-6550.008.patch, YARN-6550.009.patch, YARN-6550.010.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


Mime
View raw message