You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by kr...@apache.org on 2018/11/09 20:22:07 UTC
knox git commit: KNOX-1587 - YARN v1 UI - Fix Spark history links
Repository: knox
Updated Branches:
refs/heads/master e36ef254c -> a6bdd0848
KNOX-1587 - YARN v1 UI - Fix Spark history links
Signed-off-by: Kevin Risden <kr...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/a6bdd084
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/a6bdd084
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/a6bdd084
Branch: refs/heads/master
Commit: a6bdd0848b3dfb1c045ce0e8b64018c5fd3735dd
Parents: e36ef25
Author: Kevin Risden <kr...@apache.org>
Authored: Fri Nov 9 15:20:32 2018 -0500
Committer: Kevin Risden <kr...@apache.org>
Committed: Fri Nov 9 15:20:39 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/a6bdd084/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/{**}"/>