abhi2196 commented on a change in pull request #276: KNOX-2258: Add rewrite 
rule to fix livy redirect issue
URL: https://github.com/apache/knox/pull/276#discussion_r387083657
 
 

 ##########
 File path: 
gateway-service-definitions/src/main/resources/services/livy/0.4.0/rewrite.xml
 ##########
 @@ -45,4 +45,8 @@
     <rewrite 
template="{$frontend[url]}/yarn/nodemanager/node/containerlogs/{**}?{scheme}?host={$hostmap(host)}?{port}"/>
   </rule>
 
+  <rule dir="OUT" name="LIVYSERVER/livy/outbound/headers/ui" 
pattern="{scheme}://{host}:{port}/ui/">
 
 Review comment:
   Yes I verified with these changes that looking for `/ui/` as the pattern is 
correctly redirecting to livy ui page.

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


With regards,
Apache Git Services

Reply via email to