Anubhav Dhoot commented on YARN-3423:

getResolvedRemoteRMWebAppURLWithoutScheme will give you the first RM in a HA 
case which may not match the active RM. In this case it looks okay as its 
getting a remote RM url and redirection to active will work once you access 
that link.
In some cases we need to get a local address from the active RM for doing a 
socket bind. In that case that would not work if the second RM is active. So we 
need to review all uses on a case by case basis.

> 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
>              Labels: BB2015-05-TBR
>         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

Reply via email to