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 2025/11/22 12:41:28 UTC
(knox) 01/02: KNOX-3215 - Revert KNOX-2647 (#1107)
This is an automated email from the ASF dual-hosted git repository.
more pushed a commit to branch feature/jdk17_upgrade
in repository https://gitbox.apache.org/repos/asf/knox.git
commit dca7ef3d51b1d5396f23f02d4e65b9b1871b8c6c
Author: Sandor Molnar <sm...@apache.org>
AuthorDate: Fri Nov 21 13:23:37 2025 +0100
KNOX-3215 - Revert KNOX-2647 (#1107)
---
.../main/resources/services/sparkhistoryui/2.3.0/rewrite.xml | 11 -----------
.../main/resources/services/sparkhistoryui/2.3.0/service.xml | 3 ---
2 files changed, 14 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 0d30ea046..bb513de36 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
@@ -99,15 +99,4 @@
<rewrite template="{$frontend[url]}/yarnuiv2/node/containerlogs/{**}?{**}?{scheme}?{host}?{port}"/>
</rule>
- <!-- rewrite JSON response for log locations -->
- <rule dir="IN" name="SPARKHISTORYUI/sparkhistory/inbound/json/body/jhslogs">
- <match pattern="{scheme}://{host}:{port}/jobhistory/logs/{**}?{**}"/>
- <rewrite template="{$frontend[url]}/jobhistory/joblogs/{**}?{**}"/>
- </rule>
- <filter name="SPARKHISTORYUI/sparkhistory/inbound/json/body">
- <content type="*/json">
- <apply path="$[*]['executorLogs']['stderr']" rule="SPARKHISTORYUI/sparkhistory/inbound/json/body/jhslogs"/>
- <apply path="$[*]['executorLogs']['stdout']" rule="SPARKHISTORYUI/sparkhistory/inbound/json/body/jhslogs"/>
- </content>
- </filter>
</rules>
diff --git a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/service.xml b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/service.xml
index a81e2cb8b..39b16f2a1 100644
--- a/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/service.xml
+++ b/gateway-service-definitions/src/main/resources/services/sparkhistoryui/2.3.0/service.xml
@@ -44,8 +44,5 @@
<rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/headers/jobs" to="response.headers"/>
<rewrite apply="SPARKHISTORYUI/sparkhistory/outbound/rqheaders" to="request.headers"/>
</route>
- <route path="/sparkhistory/api/v1/applications/**">
- <rewrite apply="SPARKHISTORYUI/sparkhistory/inbound/json/body" to="response.body"/>
- </route>
</routes>
</service>