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_r387049123
##########
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">
+ <rewrite template="{$frontend[url]}/livy/ui"/>
Review comment:
Added required changes.
----------------------------------------------------------------
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