Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4155F105BB for ; Tue, 25 Feb 2014 22:39:22 +0000 (UTC) Received: (qmail 59047 invoked by uid 500); 25 Feb 2014 22:39:20 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 58985 invoked by uid 500); 25 Feb 2014 22:39:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 58974 invoked by uid 99); 25 Feb 2014 22:39:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 22:39:20 +0000 Date: Tue, 25 Feb 2014 22:39:20 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-1740) Redirection from AM-URL is broken with HTTPS_ONLY policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)