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 4CE2C17A37 for ; Tue, 31 Mar 2015 09:22:53 +0000 (UTC) Received: (qmail 46373 invoked by uid 500); 31 Mar 2015 09:22:53 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 46322 invoked by uid 500); 31 Mar 2015 09:22:53 -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 46306 invoked by uid 99); 31 Mar 2015 09:22:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2015 09:22:53 +0000 Date: Tue, 31 Mar 2015 09:22:52 +0000 (UTC) From: "zhaoyunjiong (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-3423) RM HA setup, "Cluster" tab links populated with AM hostname instead of RM 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-3423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhaoyunjiong updated YARN-3423: ------------------------------- Attachment: YARN-3423.patch When yarn.resourcemanager.webapp.https.address=0.0.0.0:8090 sock.getHostName() in buildRedirectPath() will return AM hostname. This simple patch should fix the problem. > RM HA setup, "Cluster" tab links populated with AM hostname instead of RM > -------------------------------------------------------------------------- > > Key: YARN-3423 > URL: https://issues.apache.org/jira/browse/YARN-3423 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.4.0 > Environment: centOS-6.x > Reporter: Aroop Maliakkal > Priority: Minor > Attachments: YARN-3423.patch > > > In RM HA setup ( e.g. http://rm-1.vip.abc.com:50030/proxy/application_1427789305393_0002/ ), go to the job details and click on the "Cluster tab" on left top side. Click on any of the links , "About", Applications" , "Scheduler". You can see that the hyperlink is pointing to http://am-1.vip.abc.com:port/cluster ). > The port details for secure and unsecure cluster is given below :- > 8088 ( DEFAULT_RM_WEBAPP_PORT = 8088 ) > 8090 ( DEFAULT_RM_WEBAPP_HTTPS_PORT = 8090 ) > Ideally, it should have pointed to resourcemanager hostname instead of AM hostname. -- This message was sent by Atlassian JIRA (v6.3.4#6332)