hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Disser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-800) Clicking on an AM link for a running app leads to a HTTP 500
Date Wed, 28 May 2014 18:27:02 GMT

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

Dave Disser commented on YARN-800:
----------------------------------

I'm seeing this issue regardless of the status of yarn.resourcemanager.hostname and yarn.web-proxy.address.
 I notice the following in my nodemanager log file:

2014-05-28 14:06:20,478 INFO  webproxy.WebAppProxyServlet (WebAppProxyServlet.java:doGet(330))
- dr.who is accessing
unchecked http://hdp003-3:59959/ which is the app master GUI of application_1401300304842_0001
owned by hdfs

I can try to retrieve this URL directly:

hdp003-2:~ # wget -O - http://hdp003-3:59959/
--2014-05-28 14:06:47--  http://hdp003-3:59959/
Resolving hdp003-3... 39.64.24.3
Connecting to hdp003-3|39.64.24.3|:59959... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://hdp003-3:59959/mapreduce [following]
--2014-05-28 14:06:47--  http://hdp003-3:59959/mapreduce
Reusing existing connection to hdp003-3:59959.
HTTP request sent, awaiting response... 302 Found
Location: http://hdp003-3:8088/proxy/application_1401300304842_0001/mapreduce [following]
--2014-05-28 14:06:47--  http://hdp003-3:8088/proxy/application_1401300304842_0001/mapreduce
Connecting to hdp003-3|39.64.24.3|:8088... failed: Connection refused.
Resolving hdp003-3... 39.64.24.3
Connecting to hdp003-3|39.64.24.3|:8088... failed: Connection refused.

The node running the AM is proxying the request to itself, where there is no proxy running.
 If I do the same on the node where AM is running, I get the proper result:

hdp003-3:~ # wget -O - http://hdp003-3:59959/
--2014-05-28 14:07:25--  http://hdp003-3:59959/
Resolving hdp003-3... 39.64.24.3
Connecting to hdp003-3|39.64.24.3|:59959... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://hdp003-3:59959/mapreduce [following]
--2014-05-28 14:07:25--  http://hdp003-3:59959/mapreduce
Reusing existing connection to hdp003-3:59959.
HTTP request sent, awaiting response... 200 OK
Length: 6224 (6.1K) [text/html]
Saving to: `STDOUT'

 0% [                                                                            ] 0     
     --.-K/s              <
!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
  <style type="text/css">
...



> 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: Minor
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message