You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Marcelo Vanzin (JIRA)" <ji...@apache.org> on 2018/05/22 01:18:00 UTC

[jira] [Resolved] (SPARK-24209) 0 configuration Knox gateway support in SHS

     [ https://issues.apache.org/jira/browse/SPARK-24209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcelo Vanzin resolved SPARK-24209.
------------------------------------
       Resolution: Fixed
         Assignee: Marco Gaido
    Fix Version/s: 2.4.0

> 0 configuration Knox gateway support in SHS
> -------------------------------------------
>
>                 Key: SPARK-24209
>                 URL: https://issues.apache.org/jira/browse/SPARK-24209
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 2.4.0
>            Reporter: Marco Gaido
>            Assignee: Marco Gaido
>            Priority: Minor
>              Labels: usability
>             Fix For: 2.4.0
>
>
> SHS supports Knox gateway by setting {{spark.ui.proxyBase}} to the proper value. The main problem with this approach is that when {{spark.ui.proxyBase}} is set, SHS is not accessible anymore through direct access.
> Since Knox provides in the header {{X-Forwarded-Context}} the base URL to use (there is a patch available in KNOX-1295), we can leverage it in order to dynamically retrieve the right proxy base, instead of relying on a fixed config. In this way, both access via Knox proxy and via direct URL can work properly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org