This is an automated email from the ASF dual-hosted git repository.

smolnar 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 db03ec3  KNOX-2531 Kill Application button in YARN does not work 
through KNOX (#399)
db03ec3 is described below

commit db03ec34f18287f8bc833e881e445fabd480dfa2
Author: Iain Buclaw <[email protected]>
AuthorDate: Wed Feb 23 07:03:52 2022 +0100

    KNOX-2531 Kill Application button in YARN does not work through KNOX (#399)
---
 .../src/main/resources/services/yarnui/2.7.0/rewrite.xml                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 af0d9f7..e5faf1e 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
@@ -207,7 +207,7 @@
 </filter>
 <filter name="YARNUI/yarn/outbound/filter/cluster">
     <content type="*/html">
-        <apply 
path="(https?://[^/':,]+:[\d]+)?/ws/v1/cluster/apps/application" 
rule="YARNUI/yarn/outbound/apps/cluster1"/>
+        <apply path="https?://[^/':,]+:[\d]+/ws/v1/cluster/apps/application" 
rule="YARNUI/yarn/outbound/apps/cluster1"/>
         <apply path="/ws/v1/.*" rule="YARNUI/yarn/outbound/ws1"/>
         <apply path="https?://[^/':,]+:[\d]+/cluster/scheduler.*" 
rule="YARNUI/yarn/outbound/scheduler1"/>
         <apply path="/cluster/scheduler.*" 
rule="YARNUI/yarn/outbound/scheduler2"/>

Reply via email to