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 <wyp...@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>

Reply via email to