[
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)