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

ASF subversion and git services commented on KNOX-2072:
-------------------------------------------------------

Commit 9305dca16a9d6b80cd16677f087fc6fba6d4fff6 in knox's branch 
refs/heads/master from Adar Lieber-Dembo
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=9305dca ]

KNOX-2072: Kudu web UI service definition (#171)

This patch adds a new service definition for accessing Apache Kudu's web UI.

Like Apache Impala, every server has a web UI, so we use scheme/host/port
query parameters to disambiguate between servers. Unlike Impala, the Kudu
web UI will add /KNOX-BASE tokens to URLs in its web pages when it detects
it is being proxied by Knox; we use these tokens as the basis for pattern
matching in our rewrite rules.

I tried to avoid cargo culting from existing service definitions and I added
comments to explain syntax and other things that weren't obvious to me as a
non-Knox developer.

I tested this manually by deploying a small Kudu cluster on my machine along
with a Knox gateway and a really simple topology. I then browsed every page
in the web UI and verified its correct behavior.

> Add a service definition for the Apache Kudu web UI
> ---------------------------------------------------
>
>                 Key: KNOX-2072
>                 URL: https://issues.apache.org/jira/browse/KNOX-2072
>             Project: Apache Knox
>          Issue Type: Improvement
>            Reporter: Adar Dembo
>            Assignee: Adar Dembo
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> It'd be nice to proxy web UI access to Kudu via Knox. This is not unlike 
> KNOX-1992, as Kudu's web UIs behave like Apache Impala's.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to