hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1740) Redirection from AM-URL is broken with HTTPS_ONLY policy
Date Tue, 25 Feb 2014 22:39:20 GMT

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

Jian He commented on YARN-1740:
-------------------------------

Added a test case for testing MR web app is explicitly disabling SSL.

The AM-URL redirected by amIPFilter to web proxy is not easily tested since there is one more
issue that, amIpFilter is not able to differentiate the request coming from web proxy or from
the localhost if it's a local machine cluster setup.

> Redirection from AM-URL is broken with HTTPS_ONLY policy
> --------------------------------------------------------
>
>                 Key: YARN-1740
>                 URL: https://issues.apache.org/jira/browse/YARN-1740
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Yesha Vora
>            Assignee: Jian He
>         Attachments: YARN-1740.1.patch, YARN-1740.2.patch
>
>
> Steps to reproduce:
> 1) Run a sleep job
> 2) Run: yarn application -list command to find AM URL.
> root@host1:~# yarn application -list
> Total number of applications (application-types: [] and states: SUBMITTED, ACCEPTED,
RUNNING):1
> Application-Id Application-Name Application-Type User Queue State Final-State Progress
Tracking-URL
> application_1383251398986_0003 Sleep job MAPREDUCE hdfs default RUNNING UNDEFINED 5%
http://host1:40653
> 3) Try to access "http://host1:40653/ws/v1/mapreduce/info" url.
> This URL redirects to http://RM_host:RM_https_port/proxy/application_1383251398986_0003/ws/v1/mapreduce/info
> Here, Http protocol is used with HTTPS port for RM.
> The expected Url is https://RM_host:RM_https_port/proxy/application_1383251398986_0003/ws/v1/mapreduce/info



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message