knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kris...@apache.org
Subject [knox] branch master updated: KNOX-2008. Fix Broken RM Home Link in YARN UI.
Date Thu, 05 Sep 2019 14:31:54 GMT
This is an automated email from the ASF dual-hosted git repository.

krisden 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 3897835  KNOX-2008. Fix Broken RM Home Link in YARN UI.
3897835 is described below

commit 3897835372b0bbc2b7c70beb9842a660fbbb2031
Author: Prabhu Joseph <pjoseph@cloudera.com>
AuthorDate: Thu Sep 5 13:37:18 2019 +0530

    KNOX-2008. Fix Broken RM Home Link in YARN UI.
    
    Signed-off-by: Kevin Risden <krisden@apache.org>
---
 .../src/main/resources/services/yarnui/2.7.0/rewrite.xml                | 2 +-
 .../src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 620af98..70f9d6c 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
@@ -289,7 +289,7 @@ https://knox_host:knox_port/gateway/yarnui/yarn/nodemanager/node/containerlogs/c
 </rule>
 
 <rule dir="OUT" name="YARNUI/yarn/outbound/nodelink" pattern="{scheme}://{host}:{port}">
-    <rewrite template="{$frontend[url]}/yarn/nodemanager/node?{host}"/>
+    <rewrite template="{$frontend[url]}/yarn/cluster"/>
 </rule>
 
 <rule dir="OUT" name="YARNUI/yarn/outbound/cluster1" pattern="*://*:*/cluster/{**}">
diff --git a/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
b/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
index 9330751..c2e2ad9 100644
--- a/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
+++ b/gateway-service-definitions/src/main/resources/services/yarnuiv2/3.0.0/rewrite.xml
@@ -306,7 +306,7 @@
   </rule>
 
   <rule dir="OUT" name="YARNUIV2/yarnuiv2/outbound/nodelink" pattern="{scheme}://{host}:{port}">
-    <rewrite template="{$frontend[url]}/yarnuiv2/nodemanager/node?{host}"/>
+    <rewrite template="{$frontend[url]}/yarnuiv2/"/>
   </rule>
 
   <rule dir="OUT" name="YARNUIV2/yarnuiv2/outbound/node" pattern="/node/{**}">


Mime
View raw message