[ 
https://issues.apache.org/jira/browse/KNOX-1999?focusedWorklogId=303840&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-303840
 ]

ASF GitHub Bot logged work on KNOX-1999:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/19 18:30
            Start Date: 29/Aug/19 18:30
    Worklog Time Spent: 10m 
      Work Description: moresandeep commented on pull request #139: KNOX-1999 - 
Make WEBHDFS rule that rewrites hdfs:// local
URL: https://github.com/apache/knox/pull/139
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 303840)
    Time Spent: 20m  (was: 10m)

> 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)

Reply via email to