Yesha Vora created YARN-1740:
--------------------------------
Summary: 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: Bug
Reporter: Yesha Vora
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)