You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by mo...@apache.org on 2019/08/15 20:05:14 UTC
[knox] branch master updated: KNOX-1988 - In Spark History Server
UI, make links for Executor logs point to YARN UI v2 (#132)
This is an automated email from the ASF dual-hosted git repository.
more pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
The following commit(s) were added to refs/heads/master by this push:
new 51d25c5 KNOX-1988 - In Spark History Server UI, make links for Executor logs point to YARN UI v2 (#132)
51d25c5 is described below
commit 51d25c541f4ff47b6bf85d507477970518d415da
Author: Wing Yew Poon <wy...@gmail.com>
AuthorDate: Thu Aug 15 13:05:09 2019 -0700
KNOX-1988 - In Spark History Server UI, make links for Executor logs point to YARN UI v2 (#132)
KNOX-1744 fixed the links but made them point to the old YARN UI.
Change the links to point to YARN UI v2.
---
.../src/main/resources/services/sparkhistoryui/2.3.0/rewrite.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/rewrite.xml
index c65ce91..1b5994d 100644
--- a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/rewrite.xml
@@ -92,10 +92,10 @@
<!-- re-write rules for yarn container logs -->
<rule dir="OUT" name="SPARKHISTORYUI/sparkhistory/outbound/yarn/containerlogs" pattern="{scheme}://{host}:{port}/node/containerlogs/{**}">
- <rewrite template="{$frontend[url]}/yarn/nodemanager/node/containerlogs/{**}?{scheme}?{host}?{port}"/>
+ <rewrite template="{$frontend[url]}/yarnuiv2/node/containerlogs/{**}?{scheme}?{host}?{port}"/>
</rule>
<rule dir="OUT" name="SPARKHISTORYUI/sparkhistory/outbound/yarn/containerlogs2" pattern="{scheme}://{host}:{port}/node/containerlogs/{**}?{**}">
- <rewrite template="{$frontend[url]}/yarn/nodemanager/node/containerlogs/{**}?{**}?{scheme}?{host}?{port}"/>
+ <rewrite template="{$frontend[url]}/yarnuiv2/node/containerlogs/{**}?{**}?{scheme}?{host}?{port}"/>
</rule>
</rules>