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

Martin Ruskov commented on KNOX-1783:
-------------------------------------

I have completed a first (dirty and partial) integration. To be verified how/if 
it suits our needs and most probably changes will follow. It is available at 
[https://github.com/mapto/knox_superset_testing] if of interest to the 
community.

My current implementation reads the hadoop-jwt cookie and performs user 
identification at every request. The advantage of this is that it avoids 
synchronising session TTL between Knox and Superset. The disadvantage might be 
performance, but at this point this doesn't appear to be critical.

The integration currently exposes only welcome and sqllab sections, thus not 
using the pattern discussed in the last comments.

It also requires several files to be injected into the superset installation 
(can be seen in the corresponding Dockerfile in the repository). A neater 
configuration is currently being 
[discussed|https://github.com/apache/incubator-superset/pull/3997], but I'm not 
very hopeful for a short-term solution.

I'm definitely open to discuss improvements or different approaches.

> Proxy support for Superset UI
> -----------------------------
>
>                 Key: KNOX-1783
>                 URL: https://issues.apache.org/jira/browse/KNOX-1783
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Martin Ruskov
>            Assignee: Martin Ruskov
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> Provide proxy UI support for the Superset UI.
>  
> To my understanding, this is a matter of adding a [new 
> service|https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.5/bk_security/content/adding_new_service_knox_gateway.html]
>  to the KNOX gateway, but there seem to be problems with trailing slashes



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

Reply via email to