[ https://issues.apache.org/jira/browse/YARN-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525242#comment-14525242 ]
Steve Loughran commented on YARN-1946: -------------------------------------- This has got more complex with the HA proxy stuff: there's >1 (host,port) pair and the caller needs to handle failover. its still something that could be made public for anyone wanting to do their own AmIPFilter; they'd just need to add failover logic themselves > need Public interface for WebAppUtils.getProxyHostAndPort > --------------------------------------------------------- > > Key: YARN-1946 > URL: https://issues.apache.org/jira/browse/YARN-1946 > Project: Hadoop YARN > Issue Type: Sub-task > Components: api, webapp > Affects Versions: 2.4.0 > Reporter: Thomas Graves > Priority: Critical > > ApplicationMasters are supposed to go through the ResourceManager web app > proxy if they have web UI's so they are properly secured. There is currently > no public interface for Application Masters to conveniently get the proxy > host and port. There is a function in WebAppUtils, but that class is > private. > We should provide this as a utility since any properly written AM will need > to do this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)