[ https://issues.apache.org/jira/browse/YARN-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13871774#comment-13871774 ]
Zhijie Shen commented on YARN-1104: ----------------------------------- I agree for long living services, stdout and stderr files need to be rotated. However, I'm not sure it's good idea to wire them to log, which may mix stdout/stderr output together with log. If some messages are really considered as log, why not writing them directly into log, instead of pushing them to stdout/stderr? > NMs to support rolling logs of stdout & stderr > ---------------------------------------------- > > Key: YARN-1104 > URL: https://issues.apache.org/jira/browse/YARN-1104 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager > Affects Versions: 2.1.0-beta > Reporter: Steve Loughran > > Currently NMs stream the stdout and stderr streams of a container to a file. > For longer lived processes those files need to be rotated so that the log > doesn't overflow -- This message was sent by Atlassian JIRA (v6.1.5#6160)