[ https://issues.apache.org/jira/browse/YARN-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14681316#comment-14681316 ]
Mohammad Shahid Khan commented on YARN-4037: -------------------------------------------- Hi Gagan, The below convention in configuring the log server url. {CODE} <property> <name>yarn.log.server.url</name> <value>http://$jobhistoryserver.full.hostname:port/jobhistory/logs</value> <description>URL for job history server </description> </property> {CODE} Note: The port should be the port being used for the mapreduce.jobhistory.webapp.address. for example if the mapreduce.jobhistory.webapp.address has the value ip1:10988, then the host and port for the log server shuld ip1:10988 Please verify once your configuration. > Hadoop - failed redirect for container > -------------------------------------- > > Key: YARN-4037 > URL: https://issues.apache.org/jira/browse/YARN-4037 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Affects Versions: 2.7.1 > Environment: Windows 7, Apache Hadoop 2.7.1 > Reporter: Gagan > > I believe this issue has been addressed earlier in > https://issues.apache.org/jira/browse/YARN-1473 though I am not sure because > the description of the JIRA does not talk about the following message > Failed while trying to construct the redirect url to the log server. Log > Server url may not be configured > java.lang.Exception: Unknown container. Container either has not started or > has already completed or doesn't belong to this node at all. > Could some one look at the same and provide detail on the root cause and > resolution ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)