[
https://issues.apache.org/jira/browse/YARN-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479544#comment-13479544
]
Siddharth Seth commented on YARN-171:
-------------------------------------
I believe redirect to HS is enabled for all logs. The HS does not know how to
contact the NM for the logs with aggregation enabled, and the NM in any case
does not serve out logs once an Application is complete.
> NodeManager should serve logs directly if log-aggregation is not enabled
> ------------------------------------------------------------------------
>
> Key: YARN-171
> URL: https://issues.apache.org/jira/browse/YARN-171
> Project: Hadoop YARN
> Issue Type: Bug
> Components: nodemanager
> Affects Versions: 0.23.3
> Reporter: Vinod Kumar Vavilapalli
> Assignee: Siddharth Seth
>
> NodeManagers never serve logs for completed applications. If log-aggregation
> is not enabled, in the interim, due to bugs like YARN-162, this is a serious
> problem for users as logs are necessarily not available.
> We should let nodes serve logs directly if
> YarnConfiguration.LOG_AGGREGATION_ENABLED is set. This should be okay as
> NonAggregatingLogHandler can retain logs upto
> YarnConfiguration.NM_LOG_RETAIN_SECONDS.
--
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