[
https://issues.apache.org/jira/browse/KNOX-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandeep More resolved KNOX-1999.
--------------------------------
Resolution: Fixed
> Atlas UI proxied via Knox: hdfs LOCATION field has the location set to
> https:// instead of hdfs://
> --------------------------------------------------------------------------------------------------
>
> Key: KNOX-1999
> URL: https://issues.apache.org/jira/browse/KNOX-1999
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandeep More
> Assignee: Sandeep More
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The issue is that the following WEBHDFS rule
> {code:xml}
> <rule dir="OUT" name="WEBHDFS/webhdfs/outbound"
> pattern="hdfs://*:*/{path=**}?{**}">
> <rewrite template="{$frontend[url]}/webhdfs/v1/{path=**}?{**}"/>
> </rule>
> {code}
> All WEBHDFS rules are global for backwards compatibility, as a result this
> rule is rewriting links from AtlasUI.
> There is no reason to rewrite hdfs:// to [https://,|https://,/] at-least for
> other UIs so we need to limit the scope of this rule to local scope from
> global scope.
> {code:xml}
> <rule dir="OUT" scope="WEBHDFS" name="WEBHDFS/webhdfs/outbound"
> pattern="hdfs://*:*/{path=**}?{**}">
> <rewrite template="{$frontend[url]}/webhdfs/v1/{path=**}?{**}"/>
> </rule>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)