knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject knox git commit: KNOX-1587 - YARN v1 UI - Fix Spark history links
Date Fri, 09 Nov 2018 20:22:28 GMT
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 <krisden@apache.org>


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 <krisden@apache.org>
Authored: Fri Nov 9 15:20:32 2018 -0500
Committer: Kevin Risden <krisden@apache.org>
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/{**}"/>


Mime
View raw message