hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1946) need Public interface for WebAppUtils.getProxyHostAndPort
Date Fri, 18 Apr 2014 08:52:16 GMT

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

Steve Loughran commented on YARN-1946:

Thomas -we proxy the GUI, but for the REST API we don't. The proxy doesn't forward any operation
than GET, and there's no guarantee clients will handle 307 redirects with the same HTTP verb
anyway. If/when the proxy supports more operations, we can try with it.

the filter just says
ws/*  -> no proxy
else: proxy

and ws/ doesn't do GUI

> 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

View raw message