[
https://issues.apache.org/jira/browse/YARN-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261759#comment-15261759
]
Junping Du commented on YARN-4913:
----------------------------------
bq. yarn logs > $targetFile produces a single file that appends all the
individual container logs. This requires (clumsy | complex) parsing to split
the files apart if you are looking for specific task or app-specific logs.
Writing to a directory will preserve the distinct files easily and also lend
itself to archiving.
+1. I experienced this pain recently on a application with 16G+ application log
which is almost unreadable. Split this into files could be very useful in this
case.
> Yarn logs should take a -out option to write to a directory
> -----------------------------------------------------------
>
> Key: YARN-4913
> URL: https://issues.apache.org/jira/browse/YARN-4913
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Xuan Gong
> Assignee: Xuan Gong
> Attachments: YARN-4913.1.patch, YARN-4913.2.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)