You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Jason Lowe (Updated) (JIRA)" <ji...@apache.org> on 2012/03/14 19:30:40 UTC
[jira] [Updated] (MAPREDUCE-4005) AM container logs URL is broken
for completed apps when log aggregation is enabled
[ https://issues.apache.org/jira/browse/MAPREDUCE-4005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Lowe updated MAPREDUCE-4005:
----------------------------------
Attachment: MAPREDUCE-4005.patch
Patch to add the application user to the AM container log URL. In addition to the unit test, verified with a single-node cluster that the AM container log URL worked for running and completed applications when log aggregation was enabled and when it wasn't.
> AM container logs URL is broken for completed apps when log aggregation is enabled
> ----------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4005
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4005
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.2
> Reporter: Jason Lowe
> Attachments: MAPREDUCE-4005.patch
>
>
> With log aggregation enabled and yarn.log.server.url pointing to the job history server, the AM container logs URL for a completed application fails with the error "Cannot get container logs without an app owner". Looking at the code in the nodemanager to handle redirects to the log server, it appears the AM container log URL is missing a user name for the job. I verified that tacking on the app's user name after the AM container log URL reported by the RM works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira