hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-800) Clicking on an AM link for a running app leads to a HTTP 500
Date Thu, 13 Jun 2013 01:34:20 GMT

    [ https://issues.apache.org/jira/browse/YARN-800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681838#comment-13681838

Zhijie Shen commented on YARN-800:

Did a quick local test, and found the link was not broken. It seems that the default value
has already been in yarn-default.xml
    <description>The hostname of the RM.</description>

    <description>The address of the RM web application.</description>

and YarnConfiguration

  public static final String RM_WEBAPP_ADDRESS = 
    RM_PREFIX + "webapp.address";

  public static final int DEFAULT_RM_WEBAPP_PORT = 8088;
  public static final String DEFAULT_RM_WEBAPP_ADDRESS = "" +

Looked into the code, it seems to be related to "yarn.web-proxy.address". In WebAppProxyServlet,

      resp.setStatus(client.executeMethod(config, method));

tries to connect the proxy host to show the application webpage. If "yarn.web-proxy.address"
is not set, RM will become the proxy, and its address will be $\{yarn.resourcemanager.hostname\}:8088
as well.

Maybe it is good to check the configuration of "yarn.web-proxy.address"
> Clicking on an AM link for a running app leads to a HTTP 500
> ------------------------------------------------------------
>                 Key: YARN-800
>                 URL: https://issues.apache.org/jira/browse/YARN-800
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Arpit Gupta
>            Priority: Critical
> Clicking the AM link tries to open up a page with url like
> http://hostname:8088/proxy/application_1370886527995_0645/
> and this leads to an HTTP 500

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

View raw message