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 "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2013/06/07 18:50:21 UTC

[jira] [Reopened] (YARN-781) Expose LOGDIR that containers should use for logging

     [ https://issues.apache.org/jira/browse/YARN-781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli reopened YARN-781:
------------------------------------------


I read this as more than just documentation. It is about exposing the final LOGDIR as env to the containers so that they can decide where to write logs at run-time.

As of today, AMs do have a not-so-straight way of doing this: an AM can explicitly set SOMEENV=<LOGDIR> and we promptly do the appropriate string replacement. But I think it is useful to set it explicitly.
                
> Expose LOGDIR that containers should use for logging
> ----------------------------------------------------
>
>                 Key: YARN-781
>                 URL: https://issues.apache.org/jira/browse/YARN-781
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Devaraj Das
>            Assignee: Vinod Kumar Vavilapalli
>
> The LOGDIR is known. We should expose this to the container's environment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira