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
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