[
https://issues.apache.org/jira/browse/HBASE-22467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser updated HBASE-22467:
-------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Pushed the commit which duplicates some "sanitization" logic from within
HtmlQuoting to avoid holding up Stack. HtmlQuoting, at present, doesn't work
for what ProfileOutputServlet needs.
Thanks for the reviews.
> WebUI changes to enable Apache Knox UI proxying
> -----------------------------------------------
>
> Key: HBASE-22467
> URL: https://issues.apache.org/jira/browse/HBASE-22467
> Project: HBase
> Issue Type: Improvement
> Components: UI
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Major
> Fix For: 3.0.0, 2.1.5, 2.2.1
>
> Attachments: HBASE-22467.001.patch, HBASE-22467.002.patch,
> HBASE-22467.003.patch
>
>
> Apache Knox's gateway is nice in that it can provide centralized
> authentication and authorization for a collection of service. Additionally,
> it can expose "private" nodes through a single point (e.g. a gateway). This
> makes our life as developers much easier in cloud deployments where it's not
> straightforward to access nodes (e.g. they're running on some private
> network).
> KNOX-1866 captures the changes over there required to make HBase's proxying
> actually work (definition lives there), but there were a few things we do in
> our UI which made it hard/impossible to proxy it correctly.
> * ProfilerServlet was dropping extra query parameters in the URL
> * JSON task output on master/regionserver couldn't be disambiguated
> * Some missing /master-status and /rs-statusĀ links couldn't be disambiguated
> properly due to a lack of context
> * Missing content-type set on a profiler servlet response
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)