You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/03 08:06:00 UTC

[jira] [Work logged] (KNOX-2258) Add new rewrite rule in Livy service for handling redirect requests to /ui

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

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

                Author: ASF GitHub Bot
            Created on: 03/Mar/20 08:05
            Start Date: 03/Mar/20 08:05
    Worklog Time Spent: 10m 
      Work Description: abhi2196 commented on pull request #276: KNOX-2258: Add rewrite rule to fix livy redirect issue
URL: https://github.com/apache/knox/pull/276
 
 
   ## What changes were proposed in this pull request?
   
   Added a new rewrite rule in Livy service for handling redirects to /ui endpoint
   
   ## How was this patch tested?
   
   Manually tested in a Cluster with Knox and Livy Services.
   1. Edited the rewrite/service.xml for Livy service with the changes.
   2. Verified that `https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy` gets redirected to `https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy/ui`
 
----------------------------------------------------------------
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:
users@infra.apache.org


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

            Worklog Id:     (was: 396687)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add new rewrite rule in Livy service for handling redirect requests to /ui
> --------------------------------------------------------------------------
>
>                 Key: KNOX-2258
>                 URL: https://issues.apache.org/jira/browse/KNOX-2258
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.3.0
>            Reporter: Abhishek Shukla
>            Assignee: Abhishek Shukla
>            Priority: Major
>              Labels: livy
>             Fix For: 1.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Livy Knox Trusted Proxy Url: 
> {noformat}
> https://<KNOX_HOST:KNOX_PORT>/gateway/default/livy
> {noformat}
> Redirects to 
> {noformat}
> https://<LIVY_HOST>:<LIVY_PORT>/ui 
> {noformat}
> And Exposes Livy Server Port URL, We should add new rewrite rule in the Livy service to handle this redirect.



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