Repository: knox Updated Branches: refs/heads/v1.2.0 b7248f949 -> b0b406747
KNOX-1587 - YARN v1 UI - Fix Spark history links Signed-off-by: Kevin Risden <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/b0b40674 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/b0b40674 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/b0b40674 Branch: refs/heads/v1.2.0 Commit: b0b4067478bd01baeb18591ab15931975566fe80 Parents: b7248f9 Author: Kevin Risden <[email protected]> Authored: Fri Nov 9 15:20:32 2018 -0500 Committer: Kevin Risden <[email protected]> Committed: Fri Nov 9 15:22:21 2018 -0500 ---------------------------------------------------------------------- .../src/main/resources/services/yarnui/2.7.0/rewrite.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/b0b40674/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml index c4dba47..cd9d35a 100644 --- a/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml +++ b/gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml @@ -160,7 +160,7 @@ <rewrite template="{$frontend[url]}/yarn/jobhistory/job/{**}?{scheme}?{host}?{port}"/> </match> <match pattern="*://*:*/history/{**}?{**}"> - <rewrite template="{gateway.scheme}://{gateway.host}:{gateway.port}/gateway/sparkui/spark/history/{**}?{**}"/> + <rewrite template="{$frontend[url]}/sparkhistory/history/{**}?{**}"/> </match> <match pattern="*://*:*/cluster/app/{**}"> <rewrite template="{$frontend[url]}/yarn/cluster/app/{**}"/>
