[ 
https://issues.apache.org/jira/browse/YARN-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930802#comment-13930802
 ] 

Robert Kanter commented on YARN-1811:
-------------------------------------

{quote}
IAC, I think the correct fix is to change AMIPFilter to accept incoming 
requests either from the web-app-proxy if it is externally configured, or from 
any of the RMs in the rm-id list. Today it depends on configuration anyways, so 
making it depend on more configuration is not a bad thing. Even so, as per my 
comment above, let's make sure that only AMIPFilter depends on such a new util 
method which looks for web-app-proxy||all RMs.
{quote}
Ok, I'll take another look at this and try to figure out a good way of giving 
AmIpFilter the list of web-app-proxy||all RMs; and I can make it as a new 
method.  If we do this, then I don't think we'll need YARN-1822.  

{quote}
The code that is removed from TestRMHA shouldn't be removed. It is directly 
submitting apps using RM handle which won't work for standby RM.
{quote}
I tried doing that to the standby RM, and it didn't work properly, but it also 
didn't throw an Exception, which is what the code is checking.  As is, it's not 
100% correct.  Perhaps that's better saved for another JIRA; plus, against the 
standby RM, we should have similar code that it checks that it doesn't work.  

> RM HA: AM link broken if the AM is on nodes other than RM
> ---------------------------------------------------------
>
>                 Key: YARN-1811
>                 URL: https://issues.apache.org/jira/browse/YARN-1811
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.3.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: YARN-1811.patch, YARN-1811.patch
>
>
> When using RM HA, if you click on the "Application Master" link in the RM web 
> UI while the job is running, you get an Error 500:



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to