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 "shenhong (JIRA)" <ji...@apache.org> on 2013/12/27 11:03:52 UTC
[jira] [Commented] (YARN-647) historyServer can't show container's
log when aggregation is not enabled
[ https://issues.apache.org/jira/browse/YARN-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857414#comment-13857414 ]
shenhong commented on YARN-647:
-------------------------------
Thanks Zhijie!
Like caolong, we also set yarn.nodemanager.log.retain-seconds=259200, so NM local logs won't be deleted after container stop,
I think if yarn.log-aggregation-enable=false and yarn.nodemanager.log.retain-seconds>0, we can change the logsLink .
> historyServer can't show container's log when aggregation is not enabled
> ------------------------------------------------------------------------
>
> Key: YARN-647
> URL: https://issues.apache.org/jira/browse/YARN-647
> Project: Hadoop YARN
> Issue Type: Improvement
> Affects Versions: 0.23.7, 2.0.4-alpha, 2.2.0
> Environment: yarn.log-aggregation-enable=false , HistoryServer will show like this:
> Aggregation is not enabled. Try the nodemanager at hd13-vm1:34669
> Reporter: shenhong
> Assignee: shenhong
> Attachments: yarn-647.patch
>
>
> When yarn.log-aggregation-enable is seted to false, after a MR_App complete, we can't view the container's log from the HistoryServer, it shows message like:
> Aggregation is not enabled. Try the nodemanager at hd13-vm1:34669
> Since we don't want to aggregate the container's log, because it will be a pressure to namenode. but sometimes we also want to take a look at container's log.
> Should we show the container's log across HistoryServer even if yarn.log-aggregation-enable is seted to false.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)