You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/10/28 18:40:28 UTC

[jira] [Commented] (YARN-4309) Add debug information to application logs when a container fails

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

Allen Wittenauer commented on YARN-4309:
----------------------------------------

We had a user who accidentally dist cached one of the base ETL data dirs... about 60GB worth... and then the job would fail.  So now you're looking at 60GB * Y containers of data to collect before even getting to the other stuff that's relevant.

> Add debug information to application logs when a container fails
> ----------------------------------------------------------------
>
>                 Key: YARN-4309
>                 URL: https://issues.apache.org/jira/browse/YARN-4309
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>
> Sometimes when a container fails, it can be pretty hard to figure out why it failed.
> My proposal is that if a container fails, we collect information about the container local dir and dump it into the container log dir. Ideally, I'd like to tar up the directory entirely, but I'm not sure of the security and space implications of such a approach. At the very least, we can list all the files in the container local dir, and dump the contents of launch_container.sh(into the container log dir).
> When log aggregation occurs, all this information will automatically get collected and make debugging such failures much easier.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)