You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2014/04/16 11:00:41 UTC

[jira] [Commented] (YARN-1946) need Public interface for WebAppUtils.getProxyHostAndPort

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

Steve Loughran commented on YARN-1946:
--------------------------------------

It's retrievable via
{{System.getenv(ApplicationConstants.APPLICATION_WEB_PROXY_BASE_ENV);}}

This is cross-language and does work. Do we need another way to make it public?

> need Public interface for WebAppUtils.getProxyHostAndPort
> ---------------------------------------------------------
>
>                 Key: YARN-1946
>                 URL: https://issues.apache.org/jira/browse/YARN-1946
>             Project: Hadoop YARN
>          Issue Type: Bug
>          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.2#6252)